diff options
| author | jules <jules@okfoc.us> | 2014-01-28 10:02:19 -0500 |
|---|---|---|
| committer | jules <jules@okfoc.us> | 2014-01-28 10:02:19 -0500 |
| commit | 03d746887a9ca5ad7c2d0a40c0ca6ae877704d43 (patch) | |
| tree | 67a76f0deb7f2ff675f831fbcaff684da3f1b71b /Gruntfile.js | |
| parent | 5d9a59162e35aad1aefc75b14c417a39bf6da5cf (diff) | |
grunt install task
Diffstat (limited to 'Gruntfile.js')
| -rw-r--r-- | Gruntfile.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 77ac474..db8e0c0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -54,6 +54,13 @@ module.exports = function(grunt) { clean: { release: ["dist/app.concat.js","dist/app.init.js"], }, + copy: { + release: { + files: [ + {expand: true, src: ['dist/*'], dest: '~/asdf/shader/', nonull: true}, + ] + }, + }, watch: { files: ['dist/!(app.min|app.concat).js'], tasks: ['default'] @@ -65,9 +72,11 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-clean'); + grunt.loadNpmTasks('grunt-contrib-copy'); grunt.loadNpmTasks('grunt-dentist'); // Default task(s). grunt.registerTask('default', ['dentist', 'concat', 'uglify']); + grunt.registerTask('install', ['dentist', 'concat', 'uglify', 'clean', 'copy']); }; |
