humbletim / glm-js

JavaScript adaptation of the OpenGL Mathematics (GLM) C++ library interfaces. JavaScript adaptation of the OpenGL Mathematics (GLM) C++ library interfaces. (project currently inactive)
http://humbletim.github.io/glm-js/
Other
43 stars 5 forks source link

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

Closed humbletim closed 9 months ago

humbletim commented 7 years ago

rough notes:

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: