Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.643 kb
#! /usr/bin/env make
# makefile to automatize simple operations
build:
cat src/canvasgl-core.js > build/canvasgl.js
cat src/canvasgl-context.js >> build/canvasgl.js
cat src/canvasgl-proxyCtx.js >> build/canvasgl.js
cat src/canvasgl-buffers.js >> build/canvasgl.js
cat src/canvasgl-shaders.js >> build/canvasgl.js
server:
python -m SimpleHTTPServer
deploy:
# assume there is something to commit
# use "git diff --exit-code HEAD" to know if there is something to commit
# so two lines: one if no commit, one if something to commit
git commit -a -m "New deploy" && git push -f origin HEAD:gh-pages && git reset HEAD~
.PHONY: build
Jump to Line
Something went wrong with that request. Please try again.