mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
update interface
This commit is contained in:
1 parent
03d199fe9d
commit
aa93512298
3 files changed
+6
-10
No files matched your search
+2
-6
@@ -64,10 +64,6 @@ fs.writeFileSync(path.resolve(process.cwd(), 'tsconfig.json'), JSON.stringify(co
|
||||
if (argv.watch) {
|
||||
child.execSync('./node_modules/.bin/tsc -b --watch', { stdio: 'inherit' });
|
||||
} else {
|
||||
let result;
|
||||
try {
|
||||
result = child.execSync('./node_modules/.bin/tsc -b', { stdio: 'inherit' });
|
||||
} catch (e) {
|
||||
result = child.execSync('./node_modules/.bin/tsc -b', { stdio: 'inherit' });
|
||||
}
|
||||
child.execSync('cd packages/hydrooj && yarn build', { stdio: 'inherit' });
|
||||
child.execSync('./node_modules/.bin/tsc -b', { stdio: 'inherit' });
|
||||
}
|
||||
Reference in new issue
Block a user