Skip to content

Building

Yotam Mann edited this page Aug 16, 2016 · 5 revisions

Installing Dependencies

Tone.js uses gulp and requirejs for building and dependency management.

Make sure you have both of those installed (as well as node.js):

npm install --global gulp

From within the 'gulp' directory, install all of the dependencies:

cd gulp
npm install

Once all of the dependencies are installed, simply run gulp from the command line. The dependency order will be resolved and all of the files will be combined into Tone.js and Tone.min.js in the 'build' folder.

gulp
Clone this wiki locally