Skip to content

Commit

Permalink
Merge pull request #89 from Jahgii/main
Browse files Browse the repository at this point in the history
Tetris
  • Loading branch information
ZacharyPatten committed Oct 31, 2023
2 parents a90c7d1 + f65c14c commit 9ffa727
Show file tree
Hide file tree
Showing 12 changed files with 1,940 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 @@ -462,6 +462,16 @@
"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,
},
{
"name": "Role Playing Game",
"type": "coreclr",
Expand Down
13 changes: 13 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,19 @@
],
"problemMatcher": "$msCompile",
},
{
"label": "Build Tetris",
"command": "dotnet",
"type": "process",
"args":
[
"build",
"${workspaceFolder}/Projects/Tetris/Tetris.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary",
],
"problemMatcher": "$msCompile",
},
{
"label": "Build Solution",
"command": "dotnet",
Expand Down
Loading

0 comments on commit 9ffa727

Please sign in to comment.