module.exports = function (grunt) {

    'use strict';

    var jsSrcFile = 'src/bullet.js';
    var jsDistDir = 'dist/';
    var testDir = 'test/spec/';

    grunt.initConfig({

        watch : {

            js: {
                files: [
                    jsSrcFile,
                    testDir + '**/*.js'
                ],

                tasks: ['dist']
            }
        },

        simplemocha : {

            options: {
                timeout: 3000,
                ignoreLeaks: false,
            },

            testAll : {
                src: testDir + '**/*.js'
            }
        },

        uglify : {

            options : {
                compress : {
                    drop_console: true
                },
                mangle : true,
                sourceMap : false,
                preserveComments : false,
                report : 'gzip' // TODO : does this report option still work?
            },

            dist : {
                src : jsSrcFile,
                dest : jsDistDir + 'bullet.min.js'
            }
        },

        copy : {

            dist : {
                src : jsSrcFile,
                dest : jsDistDir + 'bullet.js'
            }
        }
    });

    require('load-grunt-tasks')(grunt, {pattern: ['grunt-*']});

    grunt.registerTask('default', ['simplemocha', 'uglify', 'copy', 'watch']);
    grunt.registerTask('dist', ['simplemocha', 'uglify', 'copy']);
    grunt.registerTask('test', ['simplemocha']);
};
@@ -115,16 +115,63 @@
 dist/';%0A
+    var jsExampleLibsDir = 'example/js/libs/';%0A
     var 
@@ -1231,24 +1231,151 @@
 'bullet.js'%0A
+            %7D,%0A%0A            example : %7B%0A                src : jsSrcFile,%0A                dest : jsExampleLibsDir + 'bullet.js'%0A
             

Make Grunt copy bullet.js into example js libs dir