@@ -14,7 +14,7 @@ var hostPlatform = "darwin";
14
14
function rebuild ( ) {
15
15
cp . execSync ( `node ${ path . join ( __dirname , "ninja.js" ) } cleanbuild` , {
16
16
cwd : __dirname ,
17
- stdio : [ 0 , 1 , 2 ]
17
+ stdio : [ 0 , 1 , 2 ] ,
18
18
} ) ;
19
19
}
20
20
@@ -28,7 +28,7 @@ function buildCompiler() {
28
28
? `ocamlopt.opt.exe`
29
29
: `../native/${ ocamlVersion } /bin/ocamlopt.opt` ,
30
30
INCL : ocamlVersion ,
31
- isWin : is_windows
31
+ isWin : is_windows ,
32
32
} ) ;
33
33
34
34
fs . writeFileSync ( path . join ( root , "lib" , prebuilt ) , content , "ascii" ) ;
@@ -52,12 +52,19 @@ if (!is_windows) {
52
52
function createOCamlTar ( ) {
53
53
if ( process . platform === hostPlatform ) {
54
54
require ( "./installUtils.js" ) . install ( ) ;
55
+ console . log ( `status in ocaml submodule:` )
55
56
cp . execSync ( `git -C ocaml status -uno` , { cwd : root , stdio : [ 0 , 1 , 2 ] } ) ;
56
57
cp . execSync (
57
58
`git -C ocaml archive --format=tar.gz HEAD -o ../vendor/ocaml.tar.gz` ,
58
59
{ cwd : root , stdio : [ 0 , 1 , 2 ] }
59
60
) ;
60
61
}
62
+ console . log ( `status in ninja submodule:` )
63
+ cp . execSync ( `git -C ninja status -uno` , { cwd : root , stdio : [ 0 , 1 , 2 ] } ) ;
64
+ cp . execSync (
65
+ `git -C ninja archive --format=tar.gz HEAD -o ../vendor/ninja.tar.gz` ,
66
+ { cwd : root , stdio : [ 0 , 1 , 2 ] }
67
+ ) ;
61
68
}
62
69
63
70
createOCamlTar ( ) ;
0 commit comments