Skip to content

Commit 9ffa727

Browse files
Merge pull request #89 from Jahgii/main
Tetris
2 parents a90c7d1 + f65c14c commit 9ffa727

File tree

12 files changed

+1940
-1
lines changed

12 files changed

+1940
-1
lines changed

.github/workflows/Tetris Build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Tetris Build
2+
on:
3+
push:
4+
paths:
5+
- 'Projects/Tetris/**'
6+
- '!**.md'
7+
pull_request:
8+
paths:
9+
- 'Projects/Tetris/**'
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: 7.0.x
20+
- run: dotnet build "Projects\Tetris\Tetris.csproj" --configuration Release

.vscode/launch.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,16 @@
462462
"console": "externalTerminal",
463463
"stopAtEntry": false,
464464
},
465+
{
466+
"name": "Tetris",
467+
"type": "coreclr",
468+
"request": "launch",
469+
"preLaunchTask": "Build Tetris",
470+
"program": "${workspaceFolder}/Projects/Tetris/bin/Debug/Tetris.dll",
471+
"cwd": "${workspaceFolder}/Projects/Tetris/bin/Debug",
472+
"console": "externalTerminal",
473+
"stopAtEntry": false,
474+
},
465475
{
466476
"name": "Role Playing Game",
467477
"type": "coreclr",

.vscode/tasks.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,19 @@
639639
],
640640
"problemMatcher": "$msCompile",
641641
},
642+
{
643+
"label": "Build Tetris",
644+
"command": "dotnet",
645+
"type": "process",
646+
"args":
647+
[
648+
"build",
649+
"${workspaceFolder}/Projects/Tetris/Tetris.csproj",
650+
"/property:GenerateFullPaths=true",
651+
"/consoleloggerparameters:NoSummary",
652+
],
653+
"problemMatcher": "$msCompile",
654+
},
642655
{
643656
"label": "Build Solution",
644657
"command": "dotnet",

0 commit comments

Comments
 (0)