Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duck Hunt #39

Merged
merged 8 commits into from
Jun 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/Duck Hunt Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Duck Hunt Build
on:
push:
paths:
- 'Projects/Duck Hunt/**'
pull_request:
paths:
- 'Projects/Duck Hunt/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: dotnet build
run: dotnet build "Projects\Duck Hunt\Duck Hunt.csproj" --configuration Release
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,16 @@
"console": "externalTerminal",
"stopAtEntry": false,
},
{
"name": "Duck Hunt",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "Build Duck Hunt",
"program": "${workspaceFolder}/Projects/Duck Hunt/bin/Debug/Duck Hunt.dll",
"cwd": "${workspaceFolder}/Projects/Duck Hunt/bin/Debug",
"console": "externalTerminal",
"stopAtEntry": false,
},
{
"name": "Blackjack",
"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 @@ -2,6 +2,19 @@
"version": "2.0.0",
"tasks":
[
{
"label": "Build Duck Hunt",
"command": "dotnet",
"type": "process",
"args":
[
"build",
"${workspaceFolder}/Projects/Duck Hunt/Duck Hunt.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary",
],
"problemMatcher": "$msCompile",
},
{
"label": "Build Tug Of War",
"command": "dotnet",
Expand Down
9 changes: 9 additions & 0 deletions Projects/Duck Hunt/Duck Hunt.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Duck_Hunt</RootNamespace>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>
Loading