0.0.5 • Published 12 years ago

node-make-asset-pipeline v0.0.5

Weekly downloads
24
License
-
Repository
github
Last release
12 years ago

Asset middleware

This middleware is intended to be used on development in a browser environment Each time a request for an asset is coming, the make command for the specific asset ( convention naming ) is executed

Set up express server

var app = express.createServer(
     require('node-make-asset-pipeline')({asset: 'asset_folder'})
); 

Create makefile

In order to work, each command must output a file with the same name as the command

Example

jquery:

ender build jQuery --output ./assets/jquery --debug 

underscore:

ender build underscore --output ./assets/underscore --debug 

ember:

cd ~/pathto/ember.js/; \
  rake clean; \
  rake 

app:

cp -pr lib/app.js assets/app.js

asset_folder

jquery.js
jquery.js
ember.js

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago