-
Notifications
You must be signed in to change notification settings - Fork 118
Building Audiolet
If you are making some changes to Audiolet you will need to be able to compile the various JavaScript files into the Audiolet.js and Audiolet.min.js files for including in your project. Inside the src/ directory there are two shell scripts called build and dist. The build script is used to compile Audiolet.js, which contains the compiled but uncompressed source code which should be used during development. The dist script creates Audiolet.min.js, which is also run through a minifier and is intended for use in production environments.
In order to run either the build or the dist scripts you need to have Juicer installed. Juicer is a small Ruby program which handles dependencies, compiles, and minifies Audiolet's source code into a single file.
When you have made any changes to Audiolet and rebuilt it, you are ready to go and test your code out. Remember to bypass your browser's cache when you reload to ensure that the new version of Audiolet is used.