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
And those who do not want to rely on:
- Node.js
- Rails
- Pylon
- Django
- etc
Please Note: The coffeescript source code in this project is not original. It was modified the sunburst example from here; however, the original author didn't get into modifying any of the structure and just converted it over. Working converted example from d3 can be found here. 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.
This example is flush with 1000 foldiers for something fairly simple those could definitely be reduced.
This will 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/mvanveen/redundant_web_pipe.git
Cloning into 'redundant_web_pipe'...
remote: Counting objects: 93, done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 93 (delta 27), reused 93 (delta 27)
Unpacking objects: 100% (93/93), done.
$ cd redundant_web_pipe
$ make
- Coffeescript-Python - http://github.com/doloopwhile/Python-CoffeeScript $ pip install coffeescript
- Slimit python native javascript minifier - http://github.com/rspivak/slimit/ $ pip install slimit
-
PyExecJS - http://pypi.python.org/pypi/PyExecJS
$ pip install PyExecJS
-
PyV8 - http://code.google.com/p/pyv8/
$ pip install PyV8