-
-
Save funkytek/5924400 to your computer and use it in GitHub Desktop.
end user api on top of streams?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
groan = require 'groan' | |
clean = require 'groan-clean' | |
jade = require 'groan-jade' | |
coffee = require 'groan-coffee' | |
minify = require 'groan-minify' | |
# wipe the public folder | |
wipe: [ folder('./public'), clean ] | |
# compile, minify, and copy templates | |
templates: [ | |
folder("./client/templates"), | |
jade, | |
minify, | |
folder("./public/templates"), | |
] | |
# compile, minify, and copy all coffee-script | |
coffee: [ | |
folder( ("./client/js"), {ignore:["vendor"]} ), | |
coffee, | |
minify, | |
folder("./public/js") | |
] | |
# copy static files | |
static: | |
[ | |
folder("./client/img"), | |
folder("./public/img") | |
], | |
[ | |
folder("./client/css"), | |
folder("./public/css") | |
], | |
[ | |
folder("./client"), {filter:"isFile"}), | |
folder("./public") | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment