glm-js icon indicating copy to clipboard operation
glm-js copied to clipboard

Document/test how to run a full, minified command-line build.

Open humbletim opened this issue 7 years ago • 0 comments

rough notes:

  • document which versions and dependencies are needed (and where to put them)
  • add example to readme of how to run a command line build and the tests
  • maybe wire into package.json so 'npm test' can be used
  • integrate the native GLM comparison tests into main build/test process
  • maybe get git hooks / one of the automated CI services going to run tests automatically on commits

note: comments below brought forward from resolved issue #2

@Beuc

Note: I wanted to test my changes but I cannot run 'make test' or 'make build' from nodejs (tested with v4.7.2 and 6.9.2), I get various errors:

  • looks at closure-compiler somewhere in /tmp
  • requires build/VA_ARGS.js which needs to be build manually (missing make dependency)
  • uses the non-standard 'load' keyword
  • errors related to "ES5 strict mode" I'm not sure how I'm supposed to run all this :)

@humbletim

And yeah... my hacked-together build system needs some TLC. Fortunately, you can also bootstrap glm-js from source (ie: without any build system or minification); here's a quick snippet to demonstrate:

humbletim avatar Mar 20 '17 18:03 humbletim