@@ -5,7 +5,6 @@ const log = require("fancy-log");
55const newer = require ( "gulp-newer" ) ;
66const sourcemaps = require ( "gulp-sourcemaps" ) ;
77const del = require ( "del" ) ;
8- const fold = require ( "travis-fold" ) ;
98const rename = require ( "gulp-rename" ) ;
109const concat = require ( "gulp-concat" ) ;
1110const merge2 = require ( "merge2" ) ;
@@ -346,9 +345,6 @@ const runEslintRulesTests = () => runConsoleTests("scripts/eslint/built/tests",
346345task ( "run-eslint-rules-tests" , series ( buildEslintRules , runEslintRulesTests ) ) ;
347346task ( "run-eslint-rules-tests" ) . description = "Runs the eslint rule tests" ;
348347
349- const lintFoldStart = async ( ) => { if ( fold . isTravis ( ) ) console . log ( fold . start ( "lint" ) ) ; } ;
350- const lintFoldEnd = async ( ) => { if ( fold . isTravis ( ) ) console . log ( fold . end ( "lint" ) ) ; } ;
351-
352348/** @type { (folder: string) => { (): Promise<any>; displayName?: string } } */
353349const eslint = ( folder ) => async ( ) => {
354350
@@ -374,20 +370,20 @@ const eslint = (folder) => async () => {
374370
375371const lintScripts = eslint ( "scripts" ) ;
376372lintScripts . displayName = "lint-scripts" ;
377- task ( "lint-scripts" , series ( [ buildEslintRules , lintFoldStart , lintScripts , lintFoldEnd ] ) ) ;
373+ task ( "lint-scripts" , series ( [ buildEslintRules , lintScripts ] ) ) ;
378374task ( "lint-scripts" ) . description = "Runs eslint on the scripts sources." ;
379375
380376const lintCompiler = eslint ( "src" ) ;
381377lintCompiler . displayName = "lint-compiler" ;
382- task ( "lint-compiler" , series ( [ buildEslintRules , lintFoldStart , lintCompiler , lintFoldEnd ] ) ) ;
378+ task ( "lint-compiler" , series ( [ buildEslintRules , lintCompiler ] ) ) ;
383379task ( "lint-compiler" ) . description = "Runs eslint on the compiler sources." ;
384380task ( "lint-compiler" ) . flags = {
385381 " --ci" : "Runs eslint additional rules" ,
386382} ;
387383
388- const lint = series ( [ buildEslintRules , lintFoldStart , lintScripts , lintCompiler , lintFoldEnd ] ) ;
384+ const lint = series ( [ buildEslintRules , lintScripts , lintCompiler ] ) ;
389385lint . displayName = "lint" ;
390- task ( "lint" , series ( [ buildEslintRules , lintFoldStart , lint , lintFoldEnd ] ) ) ;
386+ task ( "lint" , series ( [ buildEslintRules , lint ] ) ) ;
391387task ( "lint" ) . description = "Runs eslint on the compiler and scripts sources." ;
392388task ( "lint" ) . flags = {
393389 " --ci" : "Runs eslint additional rules" ,
@@ -429,9 +425,7 @@ const buildOtherOutputs = parallel(buildCancellationToken, buildTypingsInstaller
429425task ( "other-outputs" , series ( preBuild , buildOtherOutputs ) ) ;
430426task ( "other-outputs" ) . description = "Builds miscelaneous scripts and documents distributed with the LKG" ;
431427
432- const buildFoldStart = async ( ) => { if ( fold . isTravis ( ) ) console . log ( fold . start ( "build" ) ) ; } ;
433- const buildFoldEnd = async ( ) => { if ( fold . isTravis ( ) ) console . log ( fold . end ( "build" ) ) ; } ;
434- task ( "local" , series ( buildFoldStart , preBuild , parallel ( localize , buildTsc , buildServer , buildServices , buildLssl , buildOtherOutputs ) , buildFoldEnd ) ) ;
428+ task ( "local" , series ( preBuild , parallel ( localize , buildTsc , buildServer , buildServices , buildLssl , buildOtherOutputs ) ) ) ;
435429task ( "local" ) . description = "Builds the full compiler and services" ;
436430task ( "local" ) . flags = {
437431 " --built" : "Compile using the built version of the compiler."
0 commit comments