nanoc / features

Collection of feature requests
2 stars 1 forks source link

Run the nanoc command from a sub-dir #19

Closed bfmartin closed 7 years ago

bfmartin commented 7 years ago

Similar to how the rake command finds the Rakefile, nanoc should search for the nanoc.yaml file in the current directory, and if not found, then search the parent directories. The directory where the nanoc.yaml file is found will become the current directory for the actions executed in the nanoc command.

denisdefreyne commented 7 years ago

I made a PR for this: nanoc/nanoc#1210

I also learned that bundle exec will already search for a Gemfile in an ancestral directory!

denisdefreyne commented 7 years ago

This will be released in 4.8.3.

bfmartin commented 7 years ago

That is really great. Thank you very much.

For the quick response time and also for building such a great project.