mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-10 07:44:43 +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');
|
grunt.loadTasks('lib/grunt');
|
||||||
|
|
||||||
var NG_VERSION = util.getVersion();
|
var NG_VERSION = util.getVersion();
|
||||||
|
var dist = 'angular-'+ NG_VERSION.full;
|
||||||
|
|
||||||
|
|
||||||
//global beforeEach
|
//global beforeEach
|
||||||
|
|
@ -147,8 +148,8 @@ module.exports = function(grunt) {
|
||||||
|
|
||||||
compress: {
|
compress: {
|
||||||
build: {
|
build: {
|
||||||
options: {archive: 'build/angular-'+ NG_VERSION.full +'.zip'},
|
options: {archive: 'build/' + dist +'.zip'},
|
||||||
src: ['**'], cwd: 'build', expand: true
|
src: ['**'], cwd: 'build', expand: true, dest: dist + '/'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue