@@ -8,25 +8,21 @@ var Hacker = new Liftoff({
88// localDeps: ['hacker'], // these are assigned
99// configName: 'hackerfile', // automatically by
1010// processTitle: 'hacker', // the "name" option
11+ extensions : require ( 'interpret' ) . extensions ,
1112 cwdOpt : 'cwd' ,
1213 requireOpt : 'require'
1314} ) . on ( 'require' , function ( name , module ) {
14- if ( name === 'coffee-script' ) {
15- module . register ( ) ;
16- }
15+ console . log ( 'Loading:' , name ) ;
1716} ) . on ( 'requireFail' , function ( name , err ) {
1817 console . log ( 'Unable to load:' , name , err ) ;
1918} ) ;
2019
21- Hacker . launch ( launcher ) ;
22-
23- function launcher ( env ) {
20+ var launcher = function ( env ) {
2421 if ( env . argv . verbose ) {
2522 console . log ( 'LIFTOFF SETTINGS:' , this ) ;
2623 console . log ( 'CLI OPTIONS:' , env . argv ) ;
2724 console . log ( 'CWD:' , env . cwd ) ;
2825 console . log ( 'LOCAL MODULES PRELOADED:' , env . preload ) ;
29- console . log ( 'EXTENSIONS RECOGNIZED:' , env . validExtensions ) ;
3026 console . log ( 'SEARCHING FOR:' , env . configNameRegex ) ;
3127 console . log ( 'FOUND CONFIG AT:' , env . configPath ) ;
3228 console . log ( 'CONFIG BASE DIR:' , env . configBase ) ;
@@ -42,3 +38,5 @@ function launcher (env) {
4238 console . log ( 'No Hackerfile found.' ) ;
4339 }
4440}
41+
42+ Hacker . launch ( launcher ) ;
0 commit comments