Skip to content

Commit

Permalink
Simply some build tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
LumpBloom7 committed Oct 29, 2023
1 parent 927e813 commit 76a1743
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 49 deletions.
23 changes: 3 additions & 20 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,16 @@
"version": "0.2.0",
"configurations": [
{
"name": "sentakki for osu! (Debug)",
"name": "sentakki",
"type": "coreclr",
"request": "launch",
"program": "dotnet",
"args": [
"${workspaceRoot}/osu.Game.Rulesets.Sentakki.Tests/bin/Debug/net6.0/osu.Game.Rulesets.Sentakki.Tests.dll"
],
"cwd": "${workspaceRoot}",
"preLaunchTask": "Build (Debug)",
"preLaunchTask": "Build",
"console": "internalConsole",
"justMyCode": false,
"symbolOptions": {
"searchMicrosoftSymbolServer": true,
"searchNuGetOrgSymbolServer": true
},
},
{
"name": "sentakki for osu! (Release)",
"type": "coreclr",
"request": "launch",
"program": "dotnet",
"args": [
"${workspaceRoot}/osu.Game.Rulesets.Sentakki.Tests/bin/Release/net6.0/osu.Game.Rulesets.Sentakki.Tests.dll"
],
"cwd": "${workspaceRoot}",
"preLaunchTask": "Build (Release)",
"console": "internalConsole"
},
}
]
}
33 changes: 4 additions & 29 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"version": "2.0.0",
"tasks": [
{
"label": "Build (Debug)",
"type": "shell",
"label": "Build",
"type": "process",
"command": "dotnet",
"args": [
"build",
Expand All @@ -15,42 +15,17 @@
"group": "build",
"problemMatcher": "$msCompile"
},
{
"label": "Build (Release)",
"type": "shell",
"command": "dotnet",
"args": [
"build",
"osu.Game.Rulesets.Sentakki.Tests",
"/p:Configuration=Release",
"/m",
"/verbosity:m"
],
"group": "build",
"problemMatcher": "$msCompile"
},
// Test Tasks
{
"label": "Run tests (Debug)",
"type": "shell",
"label": "Run tests",
"type": "process",
"command": "dotnet",
"args": [
"test",
"/p:Configuration=Debug",
],
"group": "test",
"problemMatcher": "$msCompile"
},
{
"label": "Run tests (Release)",
"type": "shell",
"command": "dotnet",
"args": [
"test",
"/c Release",
],
"group": "test",
"problemMatcher": "$msCompile"
}
]
}

0 comments on commit 76a1743

Please sign in to comment.