ruby on rails - Guard Compile contents of dir to dirname -


i'm using guard compile coffee-scripts in rails 2.3.8 app.

i using bistro_car bundles, scripts organized in app/scripts/{bundle_name}/{bundle_files}

what compile {bundle_files} public/javascripts/{bundle_name}.js don't have re-organize everything.

any ideas on how approach this?

the closest can using coffee command is

coffee -o public/javascripts/{bundle_name}/ --join \   --compile app/scripts/{bundle_name}/*.coffee 

which result in js file app/scripts/{bundle_name}/concatenation.js. write pretty simple cakefile iterate on bundles.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -