diff options
| author | jules <jules@okfoc.us> | 2014-01-29 10:31:02 -0500 |
|---|---|---|
| committer | jules <jules@okfoc.us> | 2014-01-29 10:31:02 -0500 |
| commit | 34c7b31ec1e4a39ec7f86e4116956d5701fa02bd (patch) | |
| tree | 761be1977532b4a4a9a319859721d9f6f8995f76 /Gruntfile.js | |
| parent | 7c5471a15b608f8ed1b3ae8f79cb383696e6c2dc (diff) | |
worker url in encoder, copy instructions
Diffstat (limited to 'Gruntfile.js')
| -rw-r--r-- | Gruntfile.js | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 258e602..458a321 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -4,6 +4,9 @@ module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), dentist: { + options: { + include: "app.concat.js" + }, build: { src: 'shader-combo.html', dest_js: 'dist/app.init.js', @@ -53,6 +56,16 @@ module.exports = function(grunt) { release: ["dist/app.concat.js","dist/app.init.js"], }, copy: { + build: { + files: [ + { + nonull: true, + expand: true, + src: ['instructions.html'], + dest: "dist/", + }, + ] + }, release: { files: [ { @@ -81,6 +94,6 @@ module.exports = function(grunt) { // Default task(s). - grunt.registerTask('default', ['dentist', 'concat', 'uglify']); - grunt.registerTask('install', ['dentist', 'concat', 'uglify', 'clean', 'copy']); + grunt.registerTask('default', ['dentist', 'concat', 'uglify', 'copy:build']); + grunt.registerTask('install', ['dentist', 'concat', 'uglify', 'clean', 'copy:release']); }; |
