Haru/.vscode/tasks.json

47 lines
1.4 KiB
JSON
Raw Normal View History

2021-12-26 17:20:59 +01:00
{
"version": "2.0.0",
"tasks": [
2021-12-29 00:57:58 +01:00
{
"label": "setup: server",
"type": "shell",
"command": "cd Server ; npm install"
},
2021-12-26 17:20:59 +01:00
{
"label": "build: server",
2021-12-28 22:56:56 +01:00
"type": "shell",
"linux": {
"command": "npm --prefix Server run release:any"
},
"osx": {
"command": "npm --prefix Server run release:any"
},
"windows": {
"command": "npm --prefix Server run build"
2021-12-28 22:56:56 +01:00
}
},
{
"label": "build: launcher",
2021-12-28 22:56:56 +01:00
"type": "shell",
"linux": {
"command": "dotnet publish Launcher/Launcher.csproj /p:PublishProfile=Launcher/Properties/PublishProfiles/linux-x64.pubxml"
2021-12-28 22:56:56 +01:00
},
"osx": {
"command": "dotnet publish Launcher/Launcher.csproj /p:PublishProfile=Launcher/Properties/PublishProfiles/osx-x64.pubxml"
2021-12-28 22:56:56 +01:00
},
"windows": {
"command": "dotnet publish Launcher/Launcher.csproj /p:PublishProfile=Launcher/Properties/PublishProfiles/win-x64.pubxml"
2021-12-28 22:56:56 +01:00
}
2021-12-29 00:57:58 +01:00
},
{
"label": "build",
"group": {
"kind": "build",
"isDefault": true
},
"dependsOn": [
"build: server",
"build: launcher"
]
2021-12-26 17:20:59 +01:00
}
]
}