diff options
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']); }; |
