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.

This commit is contained in:
Jörn Zaefferer 2012-11-25 23:32:24 +01:00
parent d7adc2bae9
commit 62ae078f14

View File

@ -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 );