{ "folders": [ { "path": "." } ], "settings": { "window.title": "Haru Project" }, "extensions": { "recommendations": [ "ms-dotnettools.csharp" ] }, "tasks": { "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" ] } ] }, "launch": { "version": "0.2.0", "configurations": [ { "name": "Launcher", "preLaunchTask": "build: launcher", "type": "coreclr", "request": "launch", "cwd": "${workspaceFolder}", "console": "externalTerminal", "program": "", "linux": { "program": "Launcher/bin/Debug/net6.0/linux-x64/Launcher.dll", }, "osx": { "program": "Launcher/bin/Debug/net6.0/osx-x64/Launcher.dll", }, "windows": { "program": "Launcher/bin/Debug/net6.0/win-x64/Launcher.dll", } }, { "name": "Server", "preLaunchTask": "build: server", "type": "node", "request": "launch", "cwd": "${workspaceFolder}", "console": "externalTerminal", "runtimeExecutable": "npm", "runtimeArgs": [ "--prefix", "Server", "run-script", "debug" ] } ] } }