File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -570,13 +570,15 @@ gulp.task('build.dart', function(done) {
570570
571571gulp . task ( 'build.broccoli.tools' ,  function ( )  { 
572572  var  tsResult  =  gulp . src ( 'tools/broccoli/**/*.ts' ) 
573-     . pipe ( tsc ( {  target : 'ES5' ,  module : 'commonjs'  } ) ) ; 
573+                      . pipe ( tsc ( { target : 'ES5' ,  module : 'commonjs' } ) ) 
574+                      . on ( 'error' ,  function ( )  { 
575+                        console . log ( "ERROR: Broccoli tools failed to build." ) ; 
576+                        process . exit ( 1 ) ; 
577+                      } ) ; 
574578  return  tsResult . js . pipe ( gulp . dest ( 'dist/broccoli' ) ) 
575579      . on ( 'end' ,  function ( )  { 
576580        var  BroccoliBuilder  =  require ( './dist/broccoli/broccoli_builder' ) . BroccoliBuilder ; 
577-         getBroccoli  =  function ( )  { 
578-           return  BroccoliBuilder ; 
579-         } ; 
581+         getBroccoli  =  function ( )  {  return  BroccoliBuilder ;  } ; 
580582      } ) ; 
581583} ) ; 
582584
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments