chore(Grunt): don't remove root dir from zip

This commit is contained in:
Dave Geddes 2013-03-06 13:43:56 -07:00 committed by Igor Minar
parent 49128cc100
commit 8a96393179

View file

@ -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 + '/'
}
},