diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2015-01-29 15:36:48 -0800 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2015-01-29 15:36:58 -0800 |
commit | dcd2c8f3e37d7fe47420b1b95d75e7a0c957abde (patch) | |
tree | 4b039bef4362cedde6fd0fc4379c87674709ef94 /build | |
parent | fc76a97b990508cc612c5cf805e62fc6e8bfae18 (diff) | |
download | jquery-dcd2c8f3e37d7fe47420b1b95d75e7a0c957abde.tar.gz jquery-dcd2c8f3e37d7fe47420b1b95d75e7a0c957abde.zip |
Release: dist can be run during a test
Diffstat (limited to 'build')
-rw-r--r-- | build/release.js | 6 | ||||
-rw-r--r-- | build/release/dist.js | 4 |
2 files changed, 2 insertions, 8 deletions
diff --git a/build/release.js b/build/release.js index d3206a956..b5eaf4df5 100644 --- a/build/release.js +++ b/build/release.js @@ -58,12 +58,6 @@ module.exports = function( Release ) { * @param {Function} callback */ dist: function( callback ) { - - if ( Release.isTest ) { - callback(); - return; - } - dist( Release, callback ); } }); diff --git a/build/release/dist.js b/build/release/dist.js index 2c6cfc645..93689b7ed 100644 --- a/build/release/dist.js +++ b/build/release/dist.js @@ -104,7 +104,7 @@ module.exports = function( Release, complete ) { Release.dir.repo = Release.dir.dist; } - Release.walk([ + Release.walk( [ Release._section( "Copy files to distribution repo" ), clone, copy, @@ -112,5 +112,5 @@ module.exports = function( Release, complete ) { Release._section( "Pushing files to distribution repo" ), push - ], complete); + ], complete ); }; |