mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-06-19 06:36:15 +08:00
chore(Grunt): don't remove root dir from zip
This commit is contained in:
@@ -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 + '/'
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user