diff options
| author | Dave Geddes | 2013-03-06 13:43:56 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-03-06 14:51:16 -0800 | 
| commit | 8a96393179d81c57a4ea0ea459aa7f77d63ae5d5 (patch) | |
| tree | af8ee93f25767f6e3fde97d6a3dd15ad9391041f /Gruntfile.js | |
| parent | 49128cc1005f0bea6074107c1098b6866eed74f5 (diff) | |
| download | angular.js-8a96393179d81c57a4ea0ea459aa7f77d63ae5d5.tar.bz2 | |
chore(Grunt): don't remove root dir from zip
Diffstat (limited to 'Gruntfile.js')
| -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 + '/'        }      }, | 
