From 8a96393179d81c57a4ea0ea459aa7f77d63ae5d5 Mon Sep 17 00:00:00 2001 From: Dave Geddes Date: Wed, 6 Mar 2013 13:43:56 -0700 Subject: chore(Grunt): don't remove root dir from zip --- Gruntfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index 0175831c..69ae7397 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -10,6 +10,7 @@ module.exports = function(grunt) { grunt.loadTasks('lib/grunt'); var NG_VERSION = util.getVersion(); + var dist = 'angular-'+ NG_VERSION.full; //global beforeEach @@ -147,8 +148,8 @@ module.exports = function(grunt) { compress: { build: { - options: {archive: 'build/angular-'+ NG_VERSION.full +'.zip'}, - src: ['**'], cwd: 'build', expand: true + options: {archive: 'build/' + dist +'.zip'}, + src: ['**'], cwd: 'build', expand: true, dest: dist + '/' } }, -- cgit v1.2.3