rubyworks / qed

Quality Ensured Documentation
http://rubyworks.github.com/qed
Other
31 stars 5 forks source link

Temporary Work Directory #1

Closed ghost closed 14 years ago

ghost commented 15 years ago

I think there needs to be a way to execute demo code in a temporary work directory, while still having easy access to the current demo directory for access to fixtures.

Need to think about the best way to offer this.

trans commented 14 years ago

Conclusion: Demos will be run in tmp/qed, unless otherwise specified by the --root command line option or profile configuration. Then fixtures/samples are accessible relative to the running demo or applique, just use __FILE__. QED will ignore directories named fixture, fixtures, sample or samples when globbing for demos.