mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Added problem matchers
This commit is contained in:
parent
6373fd300d
commit
39c28ffb04
@ -1,8 +1,10 @@
|
||||
@echo off
|
||||
|
||||
echo check_setup starting...
|
||||
if exist "setup" (
|
||||
echo setup.bat has already been called, skipping...
|
||||
) else (
|
||||
echo setup.bat has not been called yet, installing!
|
||||
call .\setup.bat
|
||||
)
|
||||
)
|
||||
echo check_setup completed!
|
||||
18
frontend/server/.vscode/tasks.json
vendored
18
frontend/server/.vscode/tasks.json
vendored
@ -3,12 +3,28 @@
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "check-setup",
|
||||
"type": "shell",
|
||||
"command": "cd .. ; ./check_setup.bat",
|
||||
"isBackground": false
|
||||
},
|
||||
{
|
||||
"label": "demo-server",
|
||||
"type": "shell",
|
||||
"command": "./scripts/demo-server.bat",
|
||||
"args": ["${input:enterDir}/Config/olympus.json"],
|
||||
"isBackground": true
|
||||
"isBackground": true,
|
||||
"dependsOn": ["check-setup"],
|
||||
"problemMatcher":{
|
||||
"owner": "custom",
|
||||
"base": "$tsc-watch",
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": "Please wait",
|
||||
"endsPattern": "Waiting for connections..."
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
cd ..
|
||||
call .\check_setup.bat
|
||||
cd server
|
||||
|
||||
call .\scripts\copy.bat
|
||||
call .\scripts\create-mock-dcs.bat
|
||||
node .\bin\demo --config %1
|
||||
18
frontend/website/.vscode/tasks.json
vendored
18
frontend/website/.vscode/tasks.json
vendored
@ -3,11 +3,27 @@
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "check-setup",
|
||||
"type": "shell",
|
||||
"command": "cd .. ; ./check_setup.bat",
|
||||
"isBackground": false
|
||||
},
|
||||
{
|
||||
"label": "watch",
|
||||
"type": "shell",
|
||||
"command": "./scripts/watch.bat",
|
||||
"isBackground": true
|
||||
"isBackground": true,
|
||||
"problemMatcher":{
|
||||
"owner": "custom",
|
||||
"base": "$tsc-watch",
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": "watchify",
|
||||
"endsPattern": "bytes written"
|
||||
}
|
||||
},
|
||||
"dependsOn": ["check-setup"]
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -1,5 +1 @@
|
||||
cd ..
|
||||
call .\check_setup.bat
|
||||
cd website
|
||||
|
||||
watchify .\src\index.ts --debug -o ..\server\public\javascripts\bundle.js -t [ babelify --global true --presets [ @babel/preset-env ] --extensions '.js'] -p [ tsify --noImplicitAny ]
|
||||
watchify .\src\index.ts --debug -o ..\server\public\javascripts\bundle.js -t [ babelify --global true --presets [ @babel/preset-env ] --extensions '.js'] -p [ tsify --noImplicitAny ] -v
|
||||
Loading…
x
Reference in New Issue
Block a user