Skip to content

Commit

Permalink
Merge pull request dotnet#77 from dotnet/darts
Browse files Browse the repository at this point in the history
Darts
  • Loading branch information
ZacharyPatten authored May 28, 2023
2 parents 48ffb50 + 6168155 commit f266ec2
Show file tree
Hide file tree
Showing 12 changed files with 1,163 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/Darts Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Darts Build
on:
push:
paths:
- 'Projects/Darts/**'
- '!**.md'
pull_request:
paths:
- 'Projects/Darts/**'
- '!**.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\Darts\Darts.csproj" --configuration Release
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,16 @@
"console": "externalTerminal",
"stopAtEntry": false,
},
{
"name": "Darts",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "Build Oligopoly",
"program": "${workspaceFolder}/Projects/Darts/bin/Debug/Darts.dll",
"cwd": "${workspaceFolder}/Projects/Darts/bin/Debug",
"console": "externalTerminal",
"stopAtEntry": false,
},
{
"name": "Yahtzee",
"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 @@ -587,6 +587,19 @@
],
"problemMatcher": "$msCompile",
},
{
"label": "Build Darts",
"command": "dotnet",
"type": "process",
"args":
[
"build",
"${workspaceFolder}/Projects/Darts/Darts.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary",
],
"problemMatcher": "$msCompile",
},
{
"label": "Build Solution",
"command": "dotnet",
Expand Down
8 changes: 8 additions & 0 deletions Projects/Darts/Darts.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>
Loading

0 comments on commit f266ec2

Please sign in to comment.