44var Liftoff = require ( 'liftoff' ) ;
55
66var Hacker = new Liftoff ( {
7- localDeps : [ 'hacker' ] ,
8- configName : 'hackerfile' ,
9- processTitle : 'hacker' ,
7+ name : 'hacker' ,
8+ // localDeps: ['hacker'], // these are assigned
9+ // configName: 'hackerfile', // automatically by
10+ // processTitle: 'hacker', // the "name" option
1011 cwdOpt : 'cwd' ,
1112 requireOpt : 'require'
1213} ) . on ( 'require' , function ( name , module ) {
@@ -19,9 +20,10 @@ var Hacker = new Liftoff({
1920
2021Hacker . launch ( function ( ) {
2122 if ( this . args . verbose ) {
23+ console . log ( 'LIFTOFF SETTINGS:' , this . liftoff ) ;
2224 console . log ( 'CLI OPTIONS:' , this . args ) ;
2325 console . log ( 'CWD:' , this . cwd ) ;
24- console . log ( 'LOCAL MODULES REQUESTED :' , this . localRequires ) ;
26+ console . log ( 'LOCAL MODULES PRELOADED :' , this . preload ) ;
2527 console . log ( 'EXTENSIONS RECOGNIZED:' , this . validExtensions ) ;
2628 console . log ( 'SEARCHING FOR:' , this . configNameRegex ) ;
2729 console . log ( 'FOUND CONFIG AT:' , this . configPath ) ;
@@ -34,7 +36,6 @@ Hacker.launch(function() {
3436 if ( this . configPath ) {
3537 process . chdir ( this . configBase ) ;
3638 require ( this . configPath ) ;
37- console . log ( this ) ;
3839 } else {
3940 console . log ( 'No Hackfile found.' ) ;
4041 }
0 commit comments