Permalink
Browse files

added copying of archive to build/, added cleaning of build/

  • Loading branch information...
1 parent 473d674 commit ad9c19e7e8f2932f2647b25eb9197762eb9b10f2 @jord-n jord-n committed Sep 30, 2013
Showing with 9 additions and 3 deletions.
  1. +2 −1 .gitignore
  2. +7 −2 Gruntfile.js
View
@@ -5,10 +5,11 @@
css/*.map
# bundling output
+build/*
+build
dist/*
dist
-
# Node Modules (use `npm install` to generate these)
node_modules/*
node_modules
View
@@ -18,7 +18,7 @@ module.exports = function(grunt) {
expand: true,
cwd: 'dist/',
src: ['**/*'],
- dest: 'build/'
+ dest: ''
}
},
@@ -33,6 +33,11 @@ module.exports = function(grunt) {
{expand: true, src: ['scss/**'], dest: 'dist/'},
{expand: true, src: ['*', '!.gitignore', '!.DS_Store'], dest: 'dist/'},
]
+ },
+ archive: {
+ files: [
+ {expand: true, src: ['linen.zip'], dest: 'build/'}
+ ]
}
},
@@ -64,5 +69,5 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['sass:admin']);
- grunt.registerTask('bundle', ['clean', 'copy', 'compress']);
+ grunt.registerTask('bundle', ['clean', 'copy:main', 'compress', 'copy:archive']);
};

0 comments on commit ad9c19e

Please sign in to comment.