8000 chore(Grunt): don't remove root dir from zip · ubick/angular.js@ce53fbd · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ce53fbd

Browse files
geddskiIgorMinar
authored andcommitted
chore(Grunt): don't remove root dir from zip
1 parent 1516a69 commit ce53fbd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Gruntfile.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = function(grunt) {
1010
grunt.loadTasks('lib/grunt');
1111

1212
var NG_VERSION = util.getVersion();
13+
var dist = 'angular-'+ NG_VERSION.full;
1314

1415

1516
//global beforeEach
@@ -147,8 +148,8 @@ module.exports = function(grunt) {
147148

148149
compress: {
149150
build: {
150-
options: {archive: 'build/angular-'+ NG_VERSION.full +'.zip'},
151-
src: ['**'], cwd: 'build', expand: true
151+
options: {archive: 'build/' + dist +'.zip'},
152+
src: ['**'], cwd: 'build', expand: true, dest: dist + '/'
152153
}
153154
},
154155

0 commit comments

Comments
 (0)
0