47 lines
1.4 KiB
JSON
47 lines
1.4 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "setup: server",
|
|
"type": "shell",
|
|
"command": "cd Server ; npm install"
|
|
},
|
|
{
|
|
"label": "build: server",
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"label": "build: launcher",
|
|
"type": "shell",
|
|
"linux": {
|
|
"command": "dotnet publish Launcher/Launcher.csproj /p:PublishProfile=Launcher/Properties/PublishProfiles/linux-x64.pubxml"
|
|
},
|
|
"osx": {
|
|
"command": "dotnet publish Launcher/Launcher.csproj /p:PublishProfile=Launcher/Properties/PublishProfiles/osx-x64.pubxml"
|
|
},
|
|
"windows": {
|
|
"command": "dotnet publish Launcher/Launcher.csproj /p:PublishProfile=Launcher/Properties/PublishProfiles/win-x64.pubxml"
|
|
}
|
|
},
|
|
{
|
|
"label": "build",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"dependsOn": [
|
|
"build: server",
|
|
"build: launcher"
|
|
]
|
|
}
|
|
]
|
|
} |