From: Jörn Zaefferer Date: Sun, 25 Nov 2012 22:32:24 +0000 (+0100) Subject: Build: Install shell dependencies in the right direcytory. Update trac instructions... X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f919657923f822b891d661fb216884c587e5759b;p=jquery-ui.git Build: Install shell dependencies in the right direcytory. Update trac instructions to point out that only minutes and seconds need to be changed. Fixes #8848 - Build: release.js fails to require shelljs/global. (cherry picked from commit 62ae078f1472b15cd6513eceeff2b9d270b94d46) --- diff --git a/build/release/release.js b/build/release/release.js index 4b7875479..037223cd1 100644 --- a/build/release/release.js +++ b/build/release/release.js @@ -262,8 +262,9 @@ function gatherContributors() { function updateTrac() { echo( newVersion.cyan + " was tagged at " + tagTime.cyan + "." ); - echo( "Close the " + newVersion.cyan + " Milestone with the above date and time." ); - echo( "Create the " + newVersion.cyan + " Version with the above date and time." ); + echo( "Close the " + newVersion.cyan + " Milestone." ); + echo( "Create the " + newVersion.cyan + " Version." ); + echo( "When Trac asks for date and time, match the above. Should only change minutes and seconds." ); echo( "Create a Milestone for the next minor release." ); } @@ -342,9 +343,7 @@ function bootstrap( fn ) { fs.mkdirSync( baseDir ); console.log( "Installing dependencies..." ); - require( "child_process" ).exec( "npm install shelljs colors", { - cwd: baseDir - }, function( error ) { + require( "child_process" ).exec( "npm install shelljs colors", function( error ) { if ( error ) { console.log( error ); return process.exit( 1 );