burnchart/Makefile

19 lines
493 B
Makefile

test:
./node_modules/.bin/mocha --compilers coffee:coffee-script --reporter spec --ui exports --bail
build:
./node_modules/.bin/apps-b ./src/ ./build/
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
.PHONY: build test