gabrielgrant / node-ember-precompile

Precompile Handlebars templates for Ember.js
53 stars 25 forks source link

Cannot Compile Recursively #24

Closed mickeyvip closed 10 years ago

mickeyvip commented 10 years ago

It would be very nice to have the compilation goes recursively for each file in directory and sub-directory, similar to like Handlebars works:

ember-precompile public/templates/. -f public/templates/templates.handlebars.js

1 line for all instead of 1 line per sub-directory.

Thank You

torra commented 10 years ago

You could use find to recursively get all the handlebars templates, ie: ./node_modules/ember-precompile/bin/ember-precompilefind public/src/handlebars -name *.hbs -print-f public/src/javascripts/app/templates.js

mickeyvip commented 10 years ago

Thank You,

but why do I need to reinvent what should be the default behaviour?

nettles-jarrod commented 10 years ago

Going to close this for now since it isn't technically a bug.