about summary refs log tree commit homepage
path: root/examples/tfx.sample.yml
diff options
authorEric Wong <e@80x24.org>2015-01-25 10:51:50 +0000
committerEric Wong <e@80x24.org>2015-01-25 10:59:51 +0000
commitead7725fa693c7dd832b22f77b32847c81a70d72 (patch)
tree44a662deec10ae6af49ea0b44ebf2d2f8793c562 /examples/tfx.sample.yml
parentef6dc55d9c40aaac9d1fbe5438dbaedc2ddad5e0 (diff)
While the Ruby Hash class is ordered in 1.9+, the YAML
specifications do not specify hashes as ordered by default.
Thus we must explicitly declare ordering via !omap for
interopability with non-Ruby tools.

This makes the YAML output of dtas-sourcedit and dtas-sinkedit
slightly more verbose

Users of dtas-splitfx are also encouraged to declare !omap
when creating their YAML files for interoperability.

Ordering env is important because any implementation of
built-in variable expansion is dependent on it.
Diffstat (limited to 'examples/tfx.sample.yml')
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tfx.sample.yml b/examples/tfx.sample.yml
index 2cbfbbc..205a0a1 100644
--- a/examples/tfx.sample.yml
+++ b/examples/tfx.sample.yml
@@ -4,7 +4,7 @@
 # test_trimfx.rb relies on this.
 infile: foo.flac
+env: !omap
   I2: second.flac