File tree 2 files changed +6
-34
lines changed
2 files changed +6
-34
lines changed Original file line number Diff line number Diff line change 1
- /// <reference path="..\src\harness\external\node.d.ts" />
2
-
1
+ /**
2
+ * You should have ts-node installed globally before executing this, probably!
3
+ * Otherwise you'll need to compile this script before you start bisecting!
4
+ */
3
5
import cp = require( 'child_process' ) ;
4
6
import fs = require( 'fs' ) ;
5
7
@@ -42,8 +44,8 @@ jake.on('close', jakeExitCode => {
42
44
} ) ;
43
45
} else {
44
46
console . log ( 'Unknown command line arguments.' ) ;
45
- console . log ( 'Usage (compile errors): git bisect run scripts\bisect.js "foo. ts --module amd" compiles' ) ;
46
- console . log ( 'Usage (emit check): git bisect run scripts\bisect.js bar.ts emits bar.js "_this = this"' ) ;
47
+ console . log ( 'Usage (compile errors): git bisect run ts-node scripts\bisect-test.ts "../failure. ts --module amd" ! compiles' ) ;
48
+ console . log ( 'Usage (emit check): git bisect run ts-node scripts\bisect-test.ts bar.ts emits bar.js "_this = this"' ) ;
47
49
// Aborts the 'git bisect run' process
48
50
process . exit ( - 1 ) ;
49
51
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments