diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index f00e1dd..0000000 --- a/.vscode/extensions.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "recommendations": [ - "ms-dotnettools.csharp" - ] -} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index a061ade..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - "name": "Launcher", - "type": "coreclr", - "request": "launch", - "cwd": "${workspaceFolder}", - "console": "externalTerminal", - "preLaunchTask": "build: launcher", - "program": "", - "linux": { - "program": "${workspaceFolder}/Launcher/bin/Debug/net6.0/linux-x64/Launcher.dll", - }, - "osx": { - "program": "${workspaceFolder}/Launcher/bin/Debug/net6.0/osx-x64/Launcher.dll", - }, - "windows": { - "program": "${workspaceFolder}/Launcher/bin/Debug/net6.0/win-x64/Launcher.dll", - } - }, - { - "name": "Server", - "type": "node", - "request": "launch", - "cwd": "${workspaceFolder}", - "preLaunchTask": "build: server", - "console": "externalTerminal", - "runtimeExecutable": "npm", - "runtimeArgs": [ - "--prefix", - "Server", - "run-script", - "debug" - ] - } - ] -} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 1893868..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "window.title": "Natsu Project", -} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 41b3780..0000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "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" - ] - } - ] -} \ No newline at end of file diff --git a/Haru.code-workspace b/Haru.code-workspace new file mode 100644 index 0000000..7aefeb0 --- /dev/null +++ b/Haru.code-workspace @@ -0,0 +1,99 @@ +{ + "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": { + "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" + ] + } + ] + } +} \ No newline at end of file