First pass at adding a build process, per #19.
Not completely ready to merge since library in /examples needs to be relinked.
Shader code is concatenated into a separate file dist/wagner.shaders.js with the namespace WAGNER.shaders. My thought for this is loading all shader code is fairly heavy and users may want to just load main composer library then load whatever few shaders they need through any method they find appropriate.
Build process is using Grunt. You should have grunt-cli installed globally, then run npm install.
Then run grunt server for development, or grunt build to generate build in /dist.
First pass at adding a build process, per #19. Not completely ready to merge since library in
/examples
needs to be relinked.Shader code is concatenated into a separate file
dist/wagner.shaders.js
with the namespaceWAGNER.shaders
. My thought for this is loading all shader code is fairly heavy and users may want to just load main composer library then load whatever few shaders they need through any method they find appropriate.Build process is using Grunt. You should have
grunt-cli
installed globally, then runnpm install
. Then rungrunt server
for development, orgrunt build
to generate build in/dist
.