diff options
| author | jules <jules@okfoc.us> | 2014-01-28 01:59:10 -0500 |
|---|---|---|
| committer | jules <jules@okfoc.us> | 2014-01-28 01:59:10 -0500 |
| commit | 0833cda1fd7789fc81acf8d2c697b7b157b89779 (patch) | |
| tree | b992e5d4db21582b4979d885e864d0af6415ce6d /Gruntfile.js | |
| parent | 4c412ea78d78b75107668792d17262a54521119d (diff) | |
gruntfile
Diffstat (limited to 'Gruntfile.js')
| -rw-r--r-- | Gruntfile.js | 49 |
1 files changed, 37 insertions, 12 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 371228c..8ba2c09 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -3,31 +3,56 @@ module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), + dentist: { + build: { + src: 'shader-combo.html', + script: 'dist/app-init.js' + html: 'dist/index.html' + } + }, concat: { dist: { src: [ - 'js/vendor/jquery/jquery.js', - 'js/vendor/loader.js', - 'js/mx/mx.js', - 'js/mx/mx.*.js', - 'js/spinner.js', - 'js/pano.js' - + "js/vendor/acorn.js", + "js/vendor/gif.js", + "js/vendor/gif-encode/util.js", + "js/vendor/gif-encode/tube.js", + "js/vendor/gif-encode/client.js", + "js/vendor/jquery/jquery.min.js", + "js/vendor/jquery-ui-1.10.3.custom.min.js", + "js/vendor/canvasquery.js", + "js/vendor/FileSaver/FileSaver.js", + "js/vendor/dataUriToBlob.js", + "js/util.js", + "js/color.js", + "js/asdf.js", + "js/image.js", + "js/user.js", + "js/gallery.js", + "js/frames.js", + "js/render.js", + "js/shader.js", + "js/error.highlight.js", + "js/help.js", + "js/api/gallery.js", + "js/api/get.js", + "js/api/set.js", + "/tmp/app-init.js", ], - dest: 'js/live.concat.js', + dest: 'dist/app.concat.js', } }, uglify: { options: { - banner: '/* asdf.us/dither */\n' + banner: '/* asdf.us/shader */\n' }, build: { - src: 'js/live.concat.js', - dest: 'js/live.min.js' + src: 'dist/app.concat.js', + dest: 'dist/app.min.js' } }, watch: { - files: ['js/!(live.min|live.concat).js','js/vendor/*'], + files: ['dist/!(app.min|app.concat).js'], tasks: ['default'] } }); |
