Permalink
Browse files

Release: dist can be run during a test

  • Loading branch information...
timmywil committed Jan 29, 2015
1 parent 61224f5 commit aae998b5449f35dc71e87e360aee5bd0022e7c8e
Showing with 2 additions and 8 deletions.
  1. +0 −6 build/release.js
  2. +2 −2 build/release/dist.js
View
@@ -45,12 +45,6 @@ module.exports = function( Release ) {
* @param {Function} callback
*/
dist: function( callback ) {
if ( Release.isTest ) {
callback();
return;
}
dist( Release, callback );
}
});
View
@@ -101,13 +101,13 @@ module.exports = function( Release, complete ) {
Release.dir.repo = Release.dir.dist;
}
Release.walk([
Release.walk( [
Release._section( "Copy files to distribution repo" ),
clone,
copy,
Release.confirmReview,
Release._section( "Pushing files to distribution repo" ),
push
], complete);
], complete );
};

0 comments on commit aae998b

Please sign in to comment.