Created
October 24, 2014 11:48
-
-
Save richorama/dfdecfab2c1c644cab68 to your computer and use it in GitHub Desktop.
This file contains 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
all: clean lint test build | |
clean: | |
rm -f *.min.js | |
lint: clean | |
jshint --config jshintconfig.json $(filter-out $(wildcard *.min.js), $(wildcard *.js)) | |
test: | |
mocha | |
build: | |
browserify index.js | uglifyjs > index.min.js | |
browserify adminclient.js | uglifyjs > adminclient.min.js | |
setup: | |
npm install | |
npm install jshint mocha uglify-js browserify -g | |
run: clean lint test build | |
node server | |
debug: clean | |
browserify index.js > index.min.js | |
browserify adminclient.js > adminclient.min.js | |
node server | |
push: | |
git push origin master | |
git push azure master | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment