File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,14 @@ export default async function () {
21
21
}
22
22
23
23
async function syncSubmodule ( ) {
24
- const sh = $ ( { cwd : rootDir } ) ;
24
+ const sh = $ ( { cwd : rootDir , verbose : 'short' } ) ;
25
25
await sh `git submodule sync` ;
26
26
await sh `git submodule update --init` ;
27
27
}
28
28
29
29
async function initBuildDir ( ) {
30
- const buildDirExists = await exists ( buildDir ) ;
31
- if ( ! buildDirExists ) {
32
- await rmrf ( buildDir ) ;
33
- await mkdir ( buildDir , { recursive : true } ) ;
34
- await cpRf ( resolve ( rootDir , 'origin' ) , buildDir ) ;
35
- await cpRf (
36
- resolve ( rootDir , '.bazelrc' ) ,
37
- resolve ( buildDir , '.bazelrc.user' )
38
- ) ;
39
- }
30
+ await rmrf ( buildDir ) ;
31
+ await mkdir ( buildDir , { recursive : true } ) ;
32
+ await cpRf ( resolve ( rootDir , 'origin' ) , buildDir ) ;
33
+ await cpRf ( resolve ( rootDir , '.bazelrc' ) , resolve ( buildDir , '.bazelrc.user' ) ) ;
40
34
}
You can’t perform that action at this time.
0 commit comments