burnchart/Makefile

19 lines
493 B
Makefile
Raw Normal View History

test:
./node_modules/.bin/mocha --compilers coffee:coffee-script --reporter spec --ui exports --bail
2013-10-17 13:32:46 +00:00
build:
./node_modules/.bin/apps-b ./src/ ./build/
2013-10-16 11:10:53 +00:00
publish:
git checkout gh-pages
git show master:build/build.js > build.js
git show master:build/build.css > build.css
git add .
@status=$$(git status --porcelain); \
if ! test "x$${status}" = x; then \
git commit -m 'publish latest build to gh-pages'; \
git push -u origin gh-pages; \
fi
git checkout master
2013-10-17 13:32:46 +00:00
.PHONY: build test