diff options
| author | Dave Geddes | 2013-03-06 13:43:56 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-03-06 13:20:54 -0800 |
| commit | ce53fbde50b7ece6b3804ab555522fae46f50ed0 (patch) | |
| tree | f4d0fbc9eba9f43ce47cb3be9ab83d82effcf117 | |
| parent | 1516a69cd21e7f2606ccae97f188807cdb9dfbb2 (diff) | |
| download | angular.js-ce53fbde50b7ece6b3804ab555522fae46f50ed0.tar.bz2 | |
chore(Grunt): don't remove root dir from zip
| -rw-r--r-- | Gruntfile.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 0175831c..69ae7397 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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 + '/' } }, |
