Move to vscode workspace
This commit is contained in:
parent
6e448b54dd
commit
1dd4abe12f
5
.vscode/extensions.json
vendored
5
.vscode/extensions.json
vendored
@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"recommendations": [
|
|
||||||
"ms-dotnettools.csharp"
|
|
||||||
]
|
|
||||||
}
|
|
38
.vscode/launch.json
vendored
38
.vscode/launch.json
vendored
@ -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"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"window.title": "Natsu Project",
|
|
||||||
}
|
|
47
.vscode/tasks.json
vendored
47
.vscode/tasks.json
vendored
@ -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"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
99
Haru.code-workspace
Normal file
99
Haru.code-workspace
Normal file
@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user