Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated Makefile to work with test suite.

  • Loading branch information...
commit 05cfa677f8a112a35894a5ca2118721fec59890a 1 parent 8f590ab
David Humphrey authored
Showing with 13 additions and 1 deletion.
  1. +13 −1 Makefile
View
14 Makefile
@@ -11,5 +11,17 @@ VERSION ?= $(error Specify a version for your release (e.g., VERSION=0.5))
check-lint:
${JSSHELL} -m -j -p -e "load('./support/jslint.js'); load('./support/jslint-cmdline.js'); runJslint(read('webgl-2d.js'));"
+WEBGL2DJS=webgl-2d.js
+TESTS=./test
+CANVASTESTS=${TESTS}/philip.html5.org
+CANVASTESTSJS=${CANVASTESTS}/tests.js
+
+${CANVASTESTSJS}: ${WEBGL2DJS}
+ @@cat webgl-2d.js ${CANVASTESTS}/tests-core.js > ${CANVASTESTSJS}
+ @@echo "Created ${CANVASTESTSJS}"
+
+# Create webgl-2d enabled tests.js
+tests: ${CANVASTESTSJS}
+
clean:
- rm -fr ./release
+ rm ${CANVASTESTSJS}
Please sign in to comment.
Something went wrong with that request. Please try again.