Beginnings of a simple asset pipeline script for those who enjoy:
- Seperation of code into files based on function, area, or "class"
- The benefits of coffee script
- Taking advantage of data attributes to play nicely with ajaxian sites
And those who do not want to rely on:
Do enjoy such things :)
Right now it has very basic functionality, plan to add sass support in the future, maybe haml but thats another beast for planning how to integrate them.
Should integrate with watchdog to watch source directories for changes, compile on change and notify in dom on compile error
This example is flush with 1000 foldiers for something fairly simple those could definitely be reduced.
make will compile any script in src, place a debug version in debug and a release version in release or warn you of any compile errors. look at example for suggested folder hierarchy.
$ git clone https://github.com/fuag15/redundant_web_pipe.git $ cd redundant_web_pipe $ make install $ make $ make serve
then click here
Dependencies Installed by Script
- Coffeescript-Python - http://github.com/doloopwhile/Python-CoffeeScript
$ pip install coffeescript $ pip install slimit