Skip to content

Commit

Permalink
Add Tetris
Browse files Browse the repository at this point in the history
  • Loading branch information
Jahgii committed Oct 27, 2023
1 parent a90c7d1 commit 051d023
Show file tree
Hide file tree
Showing 14 changed files with 1,710 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/Tetris Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Tetris Build
on:
push:
paths:
- 'Projects/Tetris/**'
- '!**.md'
pull_request:
paths:
- 'Projects/Tetris/**'
- '!**.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- run: dotnet build "Projects\Tetris\Tetris.csproj" --configuration Release
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -492,5 +492,15 @@
"console": "externalTerminal",
"stopAtEntry": false,
},
{
"name": "Tetris",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "Build Tetris",
"program": "${workspaceFolder}/Projects/Tetris/bin/Debug/Tetris.dll",
"cwd": "${workspaceFolder}/Projects/Tetris/bin/Debug",
"console": "externalTerminal",
"stopAtEntry": false,
},
],
}
13 changes: 13 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -665,5 +665,18 @@
],
"problemMatcher": "$msCompile",
},
{
"label": "Build Tetris",
"command": "dotnet",
"type": "process",
"args":
[
"build",
"${workspaceFolder}/Projects/Tetris/Tetris.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary",
],
"problemMatcher": "$msCompile",
},
],
}
Loading

0 comments on commit 051d023

Please sign in to comment.