Skip to content

Instantly share code, notes, and snippets.

@kumavis
Last active January 2, 2016 04:19
Show Gist options
  • Save kumavis/8250221 to your computer and use it in GitHub Desktop.
Save kumavis/8250221 to your computer and use it in GitHub Desktop.
abstract of node-warrior build process
- make a build dir (empty it if its present)
- dump some static files into a certain place e.g. images
- compile some ejs into an html file
- compile some sass into a css file
- compile some ember templates into a js file (minify if prod)
- browserify the app entry-point into a js file (with browserify debug flag if a dev build) (minify if prod)
- (when a dev build) rerun a build process if a related file changed
@kumavis
Copy link
Author

kumavis commented Jan 4, 2014

some how that turns into 300 line gruntfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment