Skip to content

Commit 8068f4f

Browse files
committed
Started on 5.0.0
1 parent 9413b51 commit 8068f4f

File tree

20 files changed

+1203
-506
lines changed

20 files changed

+1203
-506
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
*.cshtml text diff=html
66
*.csx text diff=csharp
77
*.sln text eol=crlf
8-
*.csproj text eol=crlf
8+
*.csproj text eol=crlf

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "nuget" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"

.github/workflows/codeql.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: "CodeQL Advanced"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- '**/*.cs'
9+
pull_request:
10+
branches:
11+
- main
12+
paths:
13+
- '**/*.cs'
14+
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
20+
jobs:
21+
analyze:
22+
name: Analyze
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v4
28+
29+
- name: Setup .NET
30+
uses: actions/setup-dotnet@v3
31+
with:
32+
dotnet-version: '8.x'
33+
34+
- name: Initialize CodeQL
35+
uses: github/codeql-action/init@v3
36+
with:
37+
languages: csharp
38+
build-mode: manual
39+
40+
- name: Restore Dependencies
41+
run: |
42+
dotnet restore
43+
44+
- name: Build the Code
45+
run: |
46+
dotnet build --no-restore
47+
48+
- name: Run .NET Tests
49+
run: |
50+
dotnet test --no-build
51+
52+
- name: Perform CodeQL Analysis
53+
uses: github/codeql-action/analyze@v3

.gitignore

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
##
44
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
55

6+
# Logs
7+
*.log
8+
9+
10+
# Shader-specific files
11+
*.spv
12+
613
# User-specific files
714
*.rsuser
815
*.suo
@@ -89,7 +96,6 @@ StyleCopReport.xml
8996
*.tmp
9097
*.tmp_proj
9198
*_wpftmp.csproj
92-
*.log
9399
*.tlog
94100
*.vspscc
95101
*.vssscc
@@ -395,4 +401,4 @@ FodyWeavers.xsd
395401
*.msp
396402

397403
# JetBrains Rider
398-
*.sln.iml
404+
*.sln.iml

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"ms-dotnettools.csdevkit",
4+
"ms-dotnettools.csharp",
5+
"wayou.vscode-todo-highlight"
6+
]
7+
}

.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@
1414
"stopAtEntry": false,
1515
"console": "integratedTerminal",
1616
"preLaunchTask": "build Argument parsing Example",
17+
},
18+
{
19+
"name": "Colors",
20+
"type": "coreclr",
21+
"request": "launch",
22+
"program": "${workspaceFolder}/examples/Colors/bin/Debug/net8.0/Colors.dll",
23+
"args": [],
24+
"cwd": "${workspaceFolder}",
25+
"stopAtEntry": false,
26+
"console": "externalTerminal",
27+
"preLaunchTask": "build Colors Example",
1728
}
1829
]
1930
}

.vscode/settings.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"files.exclude": {
3+
"**/*.csproj": false,
4+
"**/bin/": true,
5+
"**/obj/": true,
6+
".github/": true
7+
},
8+
"todohighlight.keywords": [
9+
10+
{
11+
"text": "TODO:",
12+
"color": "red",
13+
"backgroundColor": "rgba(0,0,0,0)",
14+
"overviewRulerColor": "rgba(0,0,0,0)"
15+
},
16+
{
17+
"text": "NOTE:",
18+
"color": "green",
19+
"backgroundColor": "rgba(0,0,0,0)",
20+
"overviewRulerColor": "rgba(0,0,0,0)"
21+
},
22+
{
23+
"text": "FIXME:",
24+
"color": "orange",
25+
"backgroundColor": "rgba(0,0,0,0)",
26+
"overviewRulerColor": "rgba(0,0,0,0)"
27+
}
28+
],
29+
"todohighlight.defaultStyle": {
30+
31+
"color": "red",
32+
"backgroundColor": "#ffab00",
33+
"overviewRulerColor": "rgba(0,0,0,0)",
34+
"isWholeLine": false,
35+
},
36+
"todohighlight.exclude": [
37+
"**/bin/**",
38+
"**/obj/**",
39+
"**/dist/**",
40+
"**/.vscode/**",
41+
"**/.github/**"
42+
]
43+
}

.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
"build",
1010
"${workspaceFolder}/examples/Args/Args.csproj"
1111
],
12+
},
13+
{
14+
"label": "build Colors Example",
15+
"command": "dotnet",
16+
"type": "process",
17+
"args": [
18+
"build",
19+
"${workspaceFolder}/examples/Colors/Colors.csproj"
20+
],
1221
}
1322
]
1423
}

0 commit comments

Comments
 (0)