Skip to content

Instantly share code, notes, and snippets.

@jookyboi
Created October 4, 2013 14:58
Show Gist options
  • Save jookyboi/6827384 to your computer and use it in GitHub Desktop.
Save jookyboi/6827384 to your computer and use it in GitHub Desktop.
Using Grunt to build. From http://gruntjs.com/
grunt
Running "jshint:gruntfile" (jshint) task
>> 1 file lint free.
Running "jshint:src" (jshint) task
>> 1 file lint free.
Running "jshint:test" (jshint) task
>> 1 file lint free.
Running "qunit:files" (qunit) task
Testing test/tiny-pubsub.html....OK
>> 4 assertions passed (23ms)
Running "clean:files" (clean) task
Cleaning "dist"...OK
Running "concat:dist" (concat) task
File "dist/ba-tiny-pubsub.js" created.
Running "uglify:dist" (uglify) task
File "dist/ba-tiny-pubsub.min.js" created.
Uncompressed size: 389 bytes.
Compressed size: 119 bytes gzipped (185 bytes minified).
Done, without errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment