Skip to content

Commit ce42a03

Browse files
authored
Merge pull request #62 from LumpBloom7/VSCode-configs
Add Visual Studio Code task/launch configurations
2 parents 650207a + d1e485b commit ce42a03

File tree

2 files changed

+88
-0
lines changed

2 files changed

+88
-0
lines changed

.vscode/launch.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Tau for osu! (Tests, Debug)",
6+
"type": "coreclr",
7+
"request": "launch",
8+
"program": "dotnet",
9+
"args": [
10+
"${workspaceRoot}/osu.Game.Rulesets.Tau.Tests/bin/Debug/netcoreapp3.0/osu.Game.Rulesets.Tau.Tests.dll"
11+
],
12+
"cwd": "${workspaceRoot}",
13+
"preLaunchTask": "Build tests (Debug)",
14+
"console": "internalConsole"
15+
},
16+
{
17+
"name": "Tau for osu! (Tests, Release)",
18+
"type": "coreclr",
19+
"request": "launch",
20+
"program": "dotnet",
21+
"args": [
22+
"${workspaceRoot}/osu.Game.Rulesets.Tau.Tests/bin/Release/netcoreapp3.0/osu.Game.Rulesets.Tau.Tests.dll"
23+
],
24+
"cwd": "${workspaceRoot}",
25+
"preLaunchTask": "Build tests (Release)",
26+
"console": "internalConsole"
27+
},
28+
]
29+
}

.vscode/tasks.json

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Build tests (Debug)",
6+
"type": "shell",
7+
"command": "dotnet",
8+
"args": [
9+
"build",
10+
"--no-restore",
11+
"osu.Game.Rulesets.Tau.Tests",
12+
"/p:GenerateFullPaths=true",
13+
"/m",
14+
"/verbosity:m"
15+
],
16+
"group": "build",
17+
"problemMatcher": "$msCompile"
18+
},
19+
{
20+
"label": "Build tests (Release)",
21+
"type": "shell",
22+
"command": "dotnet",
23+
"args": [
24+
"build",
25+
"--no-restore",
26+
"osu.Game.Rulesets.Tau.Tests",
27+
"/p:Configuration=Release",
28+
"/p:GenerateFullPaths=true",
29+
"/m",
30+
"/verbosity:m"
31+
],
32+
"group": "build",
33+
"problemMatcher": "$msCompile"
34+
},
35+
// Test Tasks
36+
{
37+
"label": "Run tests (Debug)",
38+
"type": "shell",
39+
"command": "dotnet",
40+
"args": [
41+
"test",
42+
"/p:Configuration=Debug",
43+
],
44+
"group": "test",
45+
"problemMatcher": "$msCompile"
46+
},
47+
{
48+
"label": "Run tests (Release)",
49+
"type": "shell",
50+
"command": "dotnet",
51+
"args": [
52+
"test",
53+
"/p:Configuration=Release",
54+
],
55+
"group": "test",
56+
"problemMatcher": "$msCompile"
57+
}
58+
]
59+
}

0 commit comments

Comments
 (0)