Skip to content

Instantly share code, notes, and snippets.

@tatey
Created October 18, 2014 12:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tatey/99e1d364e61c8b7b5670 to your computer and use it in GitHub Desktop.
Save tatey/99e1d364e61c8b7b5670 to your computer and use it in GitHub Desktop.
Simple alternative to gulp
BIN = ./node_modules/.bin
all: css js html
css:
mkdir -p build/
$(BIN)/node-sass css/index.css.sass -o build/index.css
js:
mkdir -p build/
$(BIN)/browserify js/index.js -o build/index.js
html:
mkdir -p build/
cp html/index.html build/index.html
clean:
rm -Rf build/
.PHONY: css js html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment