Changeset 2893
- Timestamp:
- 01/13/09 08:47:18 (4 years ago)
- Location:
- CKReleaser/trunk
- Files:
-
- 3 edited
-
ckreleaser.js (modified) (1 diff)
-
includes/ckreleaser.js (modified) (1 diff)
-
includes/releaser.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKReleaser/trunk/ckreleaser.js
r2890 r2893 5 5 6 6 importPackage( org.mozilla.javascript ); 7 importClass( java.lang.System );8 7 importClass( java.io.File ); 9 8 -
CKReleaser/trunk/includes/ckreleaser.js
r2890 r2893 5 5 6 6 importClass( java.lang.Integer ); 7 importClass( java.lang.System ); 7 8 8 9 var CKRELEASER = { 9 10 verbose : 0, 11 os : System.getProperty( "os.name" ).substring(0,3).toLowerCase(), 10 12 11 13 timestamp :( function() -
CKReleaser/trunk/includes/releaser.js
r2890 r2893 82 82 } 83 83 84 function minifyFiles( file )84 function minifyFiles( file ) 85 85 { 86 86 if ( file.isDirectory() ) … … 291 291 }; 292 292 293 runCommand( "php", "tools/fixlineends/fixlineends.php", "--eolstripwhite", "--eofnewline", "--eofstripwhite", "--nohidden", 294 "--nosystem", CKRELEASER.releaseDir, o ); 293 try 294 { 295 runCommand( "php", "tools/fixlineends/fixlineends.php", "--eolstripwhite", "--eofnewline", "--eofstripwhite", 296 "--nohidden", "--nosystem", CKRELEASER.releaseDir, o ); 297 } 298 catch ( e ) 299 { 300 if ( CKRELEASER.os == 'win' ) 301 { 302 throw "php is not recognized as an internal or external command. Make sure that PHP is installed in your system and the 'Path' environment variable in your environment is pointing to it." 303 } 304 else 305 { 306 throw "php: command not found. Make sure that PHP is installed in your system and the PATH variable in your environment is pointing to it." 307 } 308 } 295 309 296 310 if ( CKRELEASER.verbose )
Note: See TracChangeset
for help on using the changeset viewer.
