Last Updated: February 25, 2016
· jamesflorentino

Bake EaselJS, TweenJS, PreloadJS and SoundJS into one JS file

This will curl the JavaScript libraries from the CreateJS repository to your system, concatenate them and produce a create.js file.

    curl -o easel.js
    curl -o tween.js
    curl -o preload.js
    curl -o sound.js
    cat easel.js tween.js preload.js sound.js > create.js
    rm easel.js tween.js preload.js sound.js

Save it as a Makefile to an empty folder, then run make.

Then on your HTML code:

<script src="js/create.js""></script>