Skip to content
This repository was archived by the owner on May 19, 2024. It is now read-only.

Commit 1304240

Browse files
committed
Add project files.
0 parents  commit 1304240

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2425
-0
lines changed

.editorconfig

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = crlf
5+
insert_final_newline = true
6+
indent_style = space
7+
indent_size = 4
8+
file_header_template = \nEnumMagic Copyright (C) 2023-2024 Aptivi\n\nThis file is part of EnumMagic\n\nEnumMagic is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nEnumMagic is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY, without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see <https://www.gnu.org/licenses/>.\n
9+
10+
# IDE0060: Remove unused parameter
11+
dotnet_diagnostic.IDE0060.severity = warning
12+
dotnet_diagnostic.CA1822.severity = none
13+
14+
[*.md]
15+
charset = utf-8
16+
17+
[*.sh]
18+
end_of_line = lf
19+
20+
[*.resx]
21+
end_of_line = crlf
22+
insert_final_newline = true
23+
indent_style = space
24+
indent_size = 2
25+
26+
[*.csproj]
27+
end_of_line = crlf
28+
insert_final_newline = true
29+
indent_style = space
30+
indent_size = 2
31+
32+
[*.xml]
33+
end_of_line = crlf
34+
insert_final_newline = true
35+
indent_style = space
36+
indent_size = 2
37+
38+
[*.json]
39+
end_of_line = crlf
40+
insert_final_newline = true
41+
indent_style = space
42+
indent_size = 4
43+
44+
[*.yml]
45+
end_of_line = crlf
46+
insert_final_newline = true
47+
indent_style = space
48+
indent_size = 2

.gitattributes

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Ask a question
3+
about: Ask us anything about KS.
4+
title: "[Q&A] [FeatureName] - [Question]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
### Type of question
11+
<!-- Select the type of the question that you're going to ask here. -->
12+
- [ ] General
13+
- [ ] API
14+
- [ ] Commands
15+
- [ ] Mods
16+
- [ ] Others
17+
18+
### Question
19+
<!-- Ask us a question here. Be descriptive as much as you can. -->
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Report an issue
3+
about: Thank you for reporting a bug to us.
4+
title: "[BUG] [featureName] - [issue]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
### Description
11+
<!-- Describe how this bug happened, and general information about it. Note that you need to be as descriptive as possible. -->
12+
13+
14+
### Expected behavior
15+
<!-- How do you expect this program to behave? -->
16+
17+
18+
### Actual behavior
19+
<!-- What did it do instead? -->
20+
21+
22+
### Steps to reproduce
23+
<!-- Provide clear step-by-step instructions about reproducing this bug. -->
24+
1. Open x
25+
1. Write `yyy`
26+
1. Observe a happening instead of z
27+
28+
### Version
29+
<!-- This should be in this format: <Version> (<Commit>) (<Branch>). Commit number and branch required for development builds. -->
30+
Version `0.0.0 0000000000000000000000000000000000000000 main`
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Request a feature
3+
about: Suggest an idea to us.
4+
title: "[ADD] [FeatureName] - [Feature]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
### Description of new feature
11+
<!-- Explain about a new feature here. -->
12+
13+
14+
### What does it add?
15+
- [ ] New feature
16+
- [ ] New API functions
17+
- [ ] Others
18+
19+
### Have you tried doing it? If so, attach a mod file.

.github/issue_template.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
### Description
2+
<!-- Describe how this bug happened, and general information about it. Note that you need to be as descriptive as possible. -->
3+
4+
5+
### Expected behavior
6+
<!-- How do you expect this program to behave? -->
7+
8+
9+
### Actual behavior
10+
<!-- What did it do instead? -->
11+
12+
13+
### Steps to reproduce
14+
<!-- Provide clear step-by-step instructions about reproducing this bug. -->
15+
1. Open x
16+
1. Write `yyy`
17+
1. Observe a happening instead of z
18+
19+
### Version
20+
<!-- This should be in this format: <Version> (<Commit>) (<Branch>). Commit number and branch required for development builds. -->
21+
Version `0.0.0 0000000000000000000000000000000000000000 main`

.github/pull_request_template.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## Description
2+
<!-- Talk about your pull request. Note that you need to be as descriptive as possible. -->
3+
4+
5+
## Change type
6+
<!-- Specify what kind of changes you made. -->
7+
- [ ] Bug fixes
8+
- [ ] Performance improvements
9+
- [ ] Feature changes
10+
- [ ] Behavioral changes
11+
- [ ] Other (specify)
12+
13+
## Tested?
14+
<!-- Have you tested your changes? -->
15+
- [ ] Yes, I have
16+
- [ ] No, I haven't
17+
- [ ] Not sure
18+
19+
## Other changes?
20+
<!-- Specify the changes that don't fit to the categories above. -->

.github/workflows/build-linux-rel.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build Project (Linux, Release)
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
with:
19+
submodules: 'true'
20+
ref: ${{ github.ref }}
21+
- name: Setup .NET
22+
uses: actions/setup-dotnet@v3
23+
with:
24+
dotnet-version: '8.0.x'
25+
- name: Solution Compilation
26+
run: dotnet build --configuration Release
27+
- name: Testing
28+
run: dotnet test --no-build --configuration Release
29+

.github/workflows/build-linux.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build Project (Linux)
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
with:
19+
submodules: 'true'
20+
ref: ${{ github.ref }}
21+
- name: Setup .NET
22+
uses: actions/setup-dotnet@v3
23+
with:
24+
dotnet-version: '8.0.x'
25+
- name: Solution Compilation
26+
run: dotnet build --configuration Debug
27+
- name: Testing
28+
run: dotnet test --configuration Debug
29+
- uses: actions/upload-artifact@v3
30+
if: success() || failure()
31+
with:
32+
name: txt-build
33+
path: "EnumMagic/bin/Debug/"
34+

.github/workflows/build-macos-rel.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build Project (macOS, Release)
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
14+
runs-on: macos-latest
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
with:
19+
submodules: 'true'
20+
ref: ${{ github.ref }}
21+
- name: Setup .NET
22+
uses: actions/setup-dotnet@v3
23+
with:
24+
dotnet-version: '8.0.x'
25+
- name: Solution Compilation
26+
run: dotnet build --configuration Release
27+
- name: Testing
28+
run: dotnet test --no-build --configuration Release
29+

0 commit comments

Comments
 (0)