mirror of
https://github.com/caprover/caprover
synced 2026-09-26 16:45:39 +00:00
Added build successful message
This commit is contained in:
@@ -54,7 +54,7 @@ exec('npm run build')
|
||||
console.log('----------')
|
||||
if (
|
||||
!data.startsWith('> caprover@0.0.0') ||
|
||||
!data.endsWith('rm -rf ./built && npx tsc')
|
||||
!data.endsWith('Build successful')
|
||||
) {
|
||||
console.log('Unexpected output:')
|
||||
throw new Error(data)
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"dev": "npm run build && sudo ./dev-scripts/dev-reset-service.sh",
|
||||
"clean": "npm run build && sudo ./dev-scripts/dev-clean-run-as-dev.sh",
|
||||
"tslint": "tslint -c tslint.json -p tsconfig.json",
|
||||
"build": "echo 'RECOMPILING' && npx madge --circular --extensions ts ./ && rm -rf ./built && npx tsc",
|
||||
"build": "echo 'RECOMPILING' && npx madge --circular --extensions ts ./ && rm -rf ./built && npx tsc && echo 'Build successful'",
|
||||
"test": "npm run build && jest"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user