mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(Grunt): don't remove root dir from zip
This commit is contained in:
parent
49128cc100
commit
8a96393179
1 changed files with 3 additions and 2 deletions
|
|
@ -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 + '/'
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue