Skip to content

Commit ce41824

Browse files
committed
reversi
1 parent 518a690 commit ce41824

File tree

12 files changed

+865
-2
lines changed

12 files changed

+865
-2
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Reversi Build
2+
on:
3+
push:
4+
paths:
5+
- 'Projects/Reversi/**'
6+
- '!**.md'
7+
pull_request:
8+
paths:
9+
- 'Projects/Reversi/**'
10+
- '!**.md'
11+
workflow_dispatch:
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: actions/setup-dotnet@v3
18+
with:
19+
dotnet-version: 8.0.x
20+
- run: dotnet build "Projects\Reversi\Reversi.csproj" --configuration Release

.vscode/launch.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,11 +312,21 @@
312312
"console": "externalTerminal",
313313
"stopAtEntry": false,
314314
},
315+
{
316+
"name": "Reversi",
317+
"type": "coreclr",
318+
"request": "launch",
319+
"preLaunchTask": "Build Reversi",
320+
"program": "${workspaceFolder}/Projects/Reversi/bin/Debug/Reversi.dll",
321+
"cwd": "${workspaceFolder}/Projects/Reversi/bin/Debug",
322+
"console": "externalTerminal",
323+
"stopAtEntry": false,
324+
},
315325
{
316326
"name": "Darts",
317327
"type": "coreclr",
318328
"request": "launch",
319-
"preLaunchTask": "Build Oligopoly",
329+
"preLaunchTask": "Build Darts",
320330
"program": "${workspaceFolder}/Projects/Darts/bin/Debug/Darts.dll",
321331
"cwd": "${workspaceFolder}/Projects/Darts/bin/Debug",
322332
"console": "externalTerminal",

.vscode/tasks.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,19 @@
678678
],
679679
"problemMatcher": "$msCompile",
680680
},
681+
{
682+
"label": "Build Reversi",
683+
"command": "dotnet",
684+
"type": "process",
685+
"args":
686+
[
687+
"build",
688+
"${workspaceFolder}/Projects/Reversi/Reversi.csproj",
689+
"/property:GenerateFullPaths=true",
690+
"/consoleloggerparameters:NoSummary",
691+
],
692+
"problemMatcher": "$msCompile",
693+
},
681694
{
682695
"label": "Build Solution",
683696
"command": "dotnet",

0 commit comments

Comments
 (0)