half-pipe / half-pipe

The Rails asset pipeline replacement for picky front-end developers
MIT License
345 stars 26 forks source link

Extending `half_pipe:install` #92

Open frankie-loves-jesus opened 10 years ago

frankie-loves-jesus commented 10 years ago

Is it feasible making half_pipe:install replace ones CSS Sprockets directives with Sass includes and also wrap ones JS in RequireJS modules? Preferably asking first Would you like us to... Y/n.

frankie-loves-jesus commented 10 years ago

Maybe it should also ask:

frankie-loves-jesus commented 10 years ago

Maybe even:

What is your main JS file? [main.js]
We see there are other scripts in `app/scripts` which we could add to `main.js`.
Add `other-file1.js`? [Y/n]
Add `other-file2.js`? [Y/n]
Add `other-file3.js`? [Y/n]

And then the same for CSS.