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

feat: migrate GUI to Avalonia #414

Draft
wants to merge 280 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
280 commits
Select commit Hold shift + click to select a range
d85f3c6
fix: add using System.Linq
BinToss Feb 20, 2022
c895022
feat: add --cli arg
BinToss Feb 20, 2022
b10ca0b
refactor: move NewLine appendix in Exception output
BinToss Feb 20, 2022
10c392f
refactor: change input prompt for --infer
BinToss Feb 20, 2022
23a0b28
refactor: use Exit.WithCode() instead of Exit()
BinToss Feb 20, 2022
cee7a4d
fix: re-throw exceptions during --test
BinToss Feb 20, 2022
b2624b7
refactor: add const string ExceptionHeader
BinToss Feb 20, 2022
79e7762
style: sort usings
BinToss Feb 20, 2022
551eb23
style: fix indentation
BinToss Feb 20, 2022
304dcec
docs: add TODO regarding --silent
BinToss Feb 20, 2022
bc4f178
refactor: add Results list for returning result type and message
BinToss Feb 20, 2022
5e90c47
refactor: consolidate Process' error output
BinToss Feb 20, 2022
5967dbd
refactor: add class `ResultAndType`
BinToss Feb 20, 2022
f7b7aae
docs: update Infer()'s summary
BinToss Feb 20, 2022
0749529
refactor: move process matching from Infer() to DeeperCheck()
BinToss Feb 20, 2022
c3bf9e3
refactor: set Process to static
BinToss Feb 20, 2022
01c7ff1
refactor: combine Result and ResultAndType
BinToss Feb 20, 2022
f286be2
refactor: add LastResult for random access and returned values
BinToss Feb 20, 2022
44703fc
refactor: move Halo PC workload to InspectHPC()
BinToss Feb 20, 2022
d5b3db4
refactor: move MCC workload to InspectMCC()
BinToss Feb 20, 2022
b878bdd
refactor: set LastResult members in Infer()
BinToss Feb 20, 2022
3215d61
refactor: remove unused Results list
BinToss Feb 20, 2022
d3d6ae5
docs: add summary of DeeperCheck's switch statement
BinToss Feb 20, 2022
ea755bb
feat: add InferResult()
BinToss Feb 20, 2022
69110bc
Merge branch 'feat/HXE.Process.InferResult()' into develop
BinToss Feb 20, 2022
055caed
docs: add summary and return docs to InferResult()
BinToss Feb 20, 2022
45f2105
docs: remove old TODO note
BinToss Feb 20, 2022
19f6403
style: add end-of-file newline
BinToss Feb 20, 2022
cebe25c
style: format document
BinToss Feb 20, 2022
bf41ded
refactor: remove unused using
BinToss Feb 20, 2022
be045cf
style: convert indentation to Tabs
BinToss Feb 20, 2022
a5b1628
refactor: move members from Settings to SettingsCore
BinToss Feb 20, 2022
3b45bfa
refactor: simplify Mode/SelectedIndex switches
BinToss Feb 20, 2022
04ba80b
refactor: close Settings window instead of hiding it
BinToss Feb 20, 2022
8da710f
docs: update Copyright
BinToss Feb 20, 2022
b3a14a4
build: add/rename Publish profiles
BinToss Feb 20, 2022
3a6e3a2
Merge branch 'refactor/SettingsCore' into develop
BinToss Feb 20, 2022
b1059cb
fix: handle InvalidOperationException sometimes thrown when setting D…
BinToss Feb 21, 2022
9c0011c
docs: update banner.txt's example arguments
BinToss Feb 21, 2022
3287c0b
refactor: convert banner.txt to a const string
BinToss Feb 21, 2022
dcf555c
refactor: remove unused look-up of Banner resource
BinToss Feb 21, 2022
20470e4
refactor: include patches.crk as EmbeddedResource separate from Resou…
BinToss Feb 21, 2022
5bd4d03
style: format document
BinToss Feb 21, 2022
90d4088
docs: add summary to PatchGroup
BinToss Feb 21, 2022
fc1b2f7
refactor: set List<PatchGroup> Patches to private
BinToss Feb 21, 2022
5ca963f
style: remove blank line
BinToss Feb 21, 2022
b54255f
style: add braces to using statement, if-else
BinToss Feb 21, 2022
17bede8
refactor: use decrement operator instead of -=
BinToss Feb 21, 2022
8b48c73
refactor: simplify boolean comparison
BinToss Feb 21, 2022
84e4386
refactor: use explicit type instead of 'var' where type is not obvious
BinToss Feb 21, 2022
0618af2
chore(vscode): whitelist word "haloce"
BinToss Feb 21, 2022
da416a4
refactor: use element access csharp(RCS1246)
BinToss Feb 21, 2022
747d3a9
ci(release): fix release workflow
BinToss Feb 21, 2022
8455182
chore(deps): update namchee/conventional-pr action to v0.9.0
BinToss Feb 21, 2022
ce024c2
ci(cpr): ignore snyk-bot
BinToss Feb 21, 2022
41da068
chore: remove CodeMaid config
BinToss Feb 21, 2022
6a24035
docs: update SCREENSHOT.png
BinToss Feb 21, 2022
7a6ba1c
ci(cpr): rename step 'hqprs' to 'cpr'
BinToss Mar 14, 2022
231d1b9
chore(vscode): update Launch configuration
BinToss Mar 14, 2022
a52b37d
chore(vscode): set OmniSharp settings
BinToss Mar 14, 2022
336434b
chore(vscode): update watch/run task
BinToss Mar 14, 2022
338830d
ci(release): fix build/publish step
BinToss Mar 15, 2022
6cefa56
docs: remove .NET 6 dependency notes
BinToss Mar 15, 2022
6c3b718
chore: remove redundant Semantic Release config
BinToss Mar 15, 2022
e847d9d
build: use compiler defaults for Configuration (Release/Debug)
BinToss Mar 21, 2022
5247cf0
build: change NuGet copyright
BinToss Mar 21, 2022
5f7f425
build: update Build, Publish properties
BinToss Mar 21, 2022
52d3fd6
build: change default language from 'en-US' to 'en'
BinToss Mar 21, 2022
3e769c3
build: add Label to some ItemGroups
BinToss Mar 21, 2022
39daf34
build: add missing closing-parenthesis
BinToss May 28, 2023
7963d9c
build: raise minimum runtime to net6.0
BinToss May 29, 2023
1ef51c1
style: remove/add whitespace
BinToss May 29, 2023
3559ecd
build(deps): use recommended PackageReference for Microsoft.SourceLin…
BinToss May 30, 2023
025eeed
build: remove redundant XML tags, properties
BinToss Jun 3, 2023
46c07a5
build: remove '.root' links
BinToss Jun 4, 2023
34f977f
build: move NuGet properties to new group; add IconUrl
BinToss Jun 4, 2023
0894c93
build: replace WPF dependency with Avalonia
BinToss Jun 4, 2023
76b813b
feat: add HXE.Paths.Custom.Configuration(string)
BinToss Jun 4, 2023
e78b6b5
style: fix indenting
BinToss Jun 4, 2023
61260ad
style: remove unnecessary blank lines
BinToss Jun 4, 2023
d4b5be1
style: use expression-bodied lambda
BinToss Jun 4, 2023
ac6b442
refactor: use Environment.ProcessPath
BinToss Jun 4, 2023
dfd4c36
style: add eof newline
BinToss Jun 4, 2023
6ff8b06
docs: update HXE.Paths.Steam comments
BinToss Jun 4, 2023
d9d5ee5
feat: add currently unused MainWindow
BinToss Jun 4, 2023
64b1dca
feat: add 'App', an Application just for MainWindow
BinToss Jun 4, 2023
b024bb8
build: comment out TargetFrameworks
BinToss Jun 4, 2023
f90f752
style: remove spaces; add eol newline
BinToss Jun 4, 2023
ffd1ff1
feat: migrate HXE.Positions to Avalonia
BinToss Jun 4, 2023
e4a7858
chore(vscode): remove settings.json in favor of code-worksapce
BinToss Jun 4, 2023
5d077a1
fix: remove missing prop SnapsToDevicePixels
BinToss Jun 4, 2023
b727381
fix: replace ResizeMode with CanResize
BinToss Jun 4, 2023
e92f356
fix: move Style block into StackPanel
BinToss Jun 4, 2023
742f203
fix: use GetSystemMetrics, Avalonia properties to get Primary screen …
BinToss Jun 4, 2023
58b012c
fix: replace OpenFileDialog with OpenFilePickerAsync
BinToss Jun 4, 2023
2ea76d8
feat: add Configuration member getters to SettingsCore
BinToss Jun 4, 2023
950486f
style: change file encoding to UTF-8 BOM
BinToss Jun 4, 2023
03cf5f6
feat: migrate Setttings window to Avalonia
BinToss Jun 4, 2023
95bc00f
feat: migrate Program to Avalonia
BinToss Jun 4, 2023
e22f378
fix: assign null to nullable variable
BinToss Jun 4, 2023
80d148b
docs: update license header
BinToss Jun 4, 2023
512187e
style: remove spaces, blank lines
BinToss Jun 4, 2023
97185c1
docs: add summary to Configuration constructors
BinToss Jun 4, 2023
5fb7e60
style: change encoding to UTF-8 BOM
BinToss Jun 4, 2023
10a8f13
chore: update 343 Industries certificate
BinToss Jun 4, 2023
b4ba0f9
feat: add HXE.Paths.Custom.Configuration(string)
BinToss Jun 4, 2023
7f5c009
style: fix indenting
BinToss Jun 4, 2023
691d119
style: remove unnecessary blank lines
BinToss Jun 4, 2023
b176274
style: use expression-bodied lambda
BinToss Jun 4, 2023
c1cedb7
refactor: use Environment.ProcessPath
BinToss Jun 4, 2023
4430712
style: add eof newline
BinToss Jun 4, 2023
ee94f3f
docs: update HXE.Paths.Steam comments
BinToss Jun 4, 2023
79f6faa
style: remove spaces; add eol newline
BinToss Jun 4, 2023
1718990
fix: assign null to nullable variable
BinToss Jun 4, 2023
71829dc
docs: update license header
BinToss Jun 4, 2023
eb09b54
style: remove spaces, blank lines
BinToss Jun 4, 2023
efd9f80
docs: add summary to Configuration constructors
BinToss Jun 4, 2023
b7e75d8
chore: update 343 Industries certificate
BinToss Jun 4, 2023
002bf6e
Merge branch 'develop' into feat/AvanloniaUI
BinToss Jun 4, 2023
e983d5e
build: change TargetFramework to net6.0
BinToss Jun 5, 2023
0ba9405
chore(vscode): update default Launch task; enable step filtering
BinToss Jun 5, 2023
32ef5c3
build: enable GenerateFullPaths
BinToss Jun 6, 2023
1f346b8
build: remove redundant property 'CopyOutputSymbolsToPublishDirectory'
BinToss Jun 6, 2023
66a5839
style: add whitespace, newlines to improve optical grepping
BinToss Jun 6, 2023
622afb8
build: add target UpdateLatestBuildPath
BinToss Jun 6, 2023
bc4f7be
chore(vscode): add configurable tasks, launch configs
BinToss Jun 6, 2023
c3cad62
build: use TargetFrameworks, RuntimeIdentifiers instead of singular f…
BinToss Jun 6, 2023
770e094
build: remove ToolCommandName
BinToss Jun 6, 2023
af9fc19
chore(vscode): set cwd to build's output path
BinToss Jun 10, 2023
eb190a2
chore(vscode): change 'latest' launch task to default name
BinToss Jun 10, 2023
c1b30a7
build: partially revert c3cad62 "build: use TargetFrameworks..."
BinToss Jun 15, 2023
bad82af
build: set default RID 'win7-x64' for debugger support
BinToss Jun 15, 2023
3287b06
build: move most Publish props to Release group
BinToss Jun 15, 2023
aba2d7d
build: enable emitting compiler-generated files
BinToss Jun 15, 2023
cfb2201
build: move analyzer props to Analyzer group
BinToss Jun 15, 2023
7a89206
build: output generated files to `./src/Generated/`
BinToss Jun 15, 2023
15ac2cf
chore(vscode): remove extension "CodeStream"
BinToss Jun 15, 2023
9d82909
chore(vscode): add extension "CommitLint"
BinToss Jun 15, 2023
0882e85
chore(vscode): disable setting "dotnet.defaultSolution"
BinToss Jun 15, 2023
a9dbdd8
chore(vscode): add xml file associations and validation filters
BinToss Jun 15, 2023
7c3bb5c
chore(vscode): add redundant settings file
BinToss Jun 15, 2023
d0c92cb
chore(vscode): fix launch config ".NET Core Launch (Console)"
BinToss Jun 15, 2023
f33fca7
chore(vscode): remove default-value fields from ".NET Core Launch (co…
BinToss Jun 15, 2023
3fd8717
chore(vscode): remove redundant field "group"
BinToss Jun 15, 2023
44b79fc
chore(vscode): prefer building Solution when possible
BinToss Jun 15, 2023
9e572b6
chore(vscode): fix input formatting for "build ({framework}, {runtime})"
BinToss Jun 15, 2023
9c38b74
chore(vscode): prefer targeting win7-x64
BinToss Jun 15, 2023
f087e6b
build: update icon to H3's Legendary icon
BinToss Jun 15, 2023
cb05c74
chore: move commitlint config to package.json
BinToss Jun 15, 2023
54e32c8
chore: remove lgtm config
BinToss Jun 15, 2023
cfb932f
chore: move Renovate bot config to ./.github/
BinToss Jun 15, 2023
2601eca
docs: update min. .NET SDK in CONTRIBUTING.md
BinToss Jun 15, 2023
ce021ee
chore: move semantic-release config to package.json
BinToss Jun 15, 2023
3b8e508
chore(vscode): re-enable dotnet.defaultSolution
BinToss Jun 15, 2023
050d040
style(vscode): convert tabs to spaces
BinToss Jun 15, 2023
75ad542
feat: improve mapping SettingsCore to/from Kernel.Configuration
BinToss Jun 15, 2023
ce53d28
refactor: simplify CheckMode()
BinToss Jun 15, 2023
442716a
refactor: load SettingsCore.Configuration from disk only if unset
BinToss Jun 15, 2023
327f74c
fix: add missing vertical line to PrintConfiguration()
BinToss Jun 15, 2023
39121cb
docs: add remark to SettingsCore
BinToss Jun 15, 2023
d00b8e2
chore(deps-dev): change package.json->name to lowercase
BinToss Jun 17, 2023
11b5a7b
feat: add HXE.Common.ExtString.ContainsAny(string, bool, params strin…
BinToss Jun 17, 2023
eac7433
fix: call WriteLine in Console.Output when writeLine TRUE
BinToss Jun 19, 2023
a561b73
build(deps): update MessageBox.Avalonia to v2.3.1-rc1
BinToss Jun 19, 2023
8544aa5
build(deps): remove Live.Avalonia
BinToss Jun 19, 2023
a8f0cf7
refactor: change MainWindow ctor to expression
BinToss Jun 19, 2023
a5a52ac
chore: add Avalonia axaml schema exported by Avant Garde
BinToss Jun 19, 2023
adb2165
build: add Windows Settings properties to app manifest e.g. dpiAware
BinToss Jun 19, 2023
14d6827
revert: undo Console.Output 'fix'
BinToss Jun 23, 2023
82fc734
fix: move conditional WriteLine to end of HXE.Console.Output
BinToss Jun 23, 2023
391b3c4
feat(gui): add modern GroupBox style for HeaderedContentControl
BinToss Jul 1, 2023
481d41b
chore: add commitlint scopes to package.json
BinToss Jul 2, 2023
554a958
chore(vscode): update scopes to match package.json
BinToss Jul 2, 2023
4bf04d3
chore(vscode): enable new 'dotnet' setting for 'import completion'
BinToss Jul 2, 2023
bab3c22
chore: remove commitizen scope
BinToss Jul 2, 2023
26d4663
chore(vscode): move Avalonia xsd to ./.vscode/
BinToss Jul 2, 2023
d81fcf4
docs: add RuntimeIdentifiers note
BinToss Jul 2, 2023
c353a99
build: change how generated files are included in project
BinToss Jul 2, 2023
d4b6fb9
build(deps): add deps 'Avalonia.Themes.Fluent', 'Live.Avalonia' (disa…
BinToss Jul 2, 2023
54ebc6e
build: mark xaml/axaml files for Watch, AvaloniaResource
BinToss Jul 2, 2023
4bfbe8f
refactor(gui): change HXE xmlns alias from 'local' to 'hxe'
BinToss Jul 2, 2023
c3f9480
refactor(gui): change SizeToContent to WidthAndHeight
BinToss Jul 2, 2023
20a414d
fix(gui): add closing bracket, FontFamily 'Inter'
BinToss Jul 2, 2023
f3277f0
feat(gui): add base Window stylesheet 'HXE_Window.axaml'
BinToss Jul 2, 2023
3c6480e
fix(gui): remove file picker opened when inferred Halo EXE not found
BinToss Jul 2, 2023
6655501
fix(gui): add Positions window title 'HXE.Positions'
BinToss Jul 2, 2023
fb34bba
fix(gui): include GroupBoxModern style in Positions
BinToss Jul 2, 2023
8af4123
style(gui): remove empty line; move attributes to line following tag
BinToss Jul 2, 2023
2ebe248
style(gui): indent using Tabs
BinToss Jul 2, 2023
68a6cc1
style(gui): change encoding to UTF-8 with BOM
BinToss Jul 2, 2023
4f2e43a
docs: add/move Program comments
BinToss Jul 2, 2023
0cfa9e1
refactor: add warning for invalid arg '--settings' bc I'm a doofus
BinToss Jul 2, 2023
3f9c29d
feat: add hxe parameter 'hide' to hide specified windows
BinToss Jul 2, 2023
989223b
refactor: change 'string.Empty' refs to ""
BinToss Jul 2, 2023
4aefb81
refactor: print message to console before exiting
BinToss Jul 2, 2023
82481ee
fix(gui): overhaul Positions code-behind
BinToss Jul 2, 2023
1494591
fix(gui): call HXE.Console.Error in ShowError
BinToss Jul 2, 2023
b241a2b
fix(gui): minimize Task.Run expressions to just awaits
BinToss Jul 2, 2023
111cedf
refactor(gui): _openOptions shouldn't be nullable
BinToss Jul 2, 2023
63af0b9
fix(gui): add missing using
BinToss Jul 2, 2023
2055bfa
style(gui): change file encoding back to UTF-8 with BOM
BinToss Jul 2, 2023
d1602b0
refactor: encourage communication in SettingsCore initialization erro…
BinToss Jul 2, 2023
d2ec438
docs: update SettingsCore's summary
BinToss Jul 2, 2023
545c5b3
refactor: improve type safety of HXE.OpenSauce XML serialization
BinToss Jul 3, 2023
e965a89
fix: improve xplat compatibility of CalculateFOV
BinToss Jul 3, 2023
cb5c101
fix(gui): use GroupBoxModern style in Settings
BinToss Jul 3, 2023
5f727ca
fix(gui): add Settings Title, DataType
BinToss Jul 3, 2023
ad75a8e
perf(gui): remove redundant StackPanel
BinToss Jul 3, 2023
4b86de0
docs(gui): update Summary of Settings
BinToss Jul 3, 2023
4d6b269
fix(gui): utilize SettingsCore.Current in Settings
BinToss Jul 3, 2023
9bc6f49
fix(gui): remove erroneous Configuration.Load() call
BinToss Jul 3, 2023
ea06c8b
fix(gui): print Settings.Initialize() errors to console
BinToss Jul 3, 2023
96f3873
fix(gui): add missing RectGeometryConverter
BinToss Jul 3, 2023
cb78ef9
feat(gui): add buttons in MainWindow to open Settings, Positions
BinToss Jul 3, 2023
9f3da6c
refactor: move Windows P/Invoke symbols to PlatformImpl internals
BinToss Jul 16, 2023
48e99df
style: remove unnecessary usings
BinToss Jul 16, 2023
3c509dc
feat: add class VideoDisplay, method GetResolution
BinToss Jul 16, 2023
d67e420
style(editorconfig): update xml/xaml/axaml indent/align style
BinToss Jul 17, 2023
eec7ff6
chore(vscode): remove framework switcher
BinToss Jul 17, 2023
fd6ee0d
chore(vscode): add launch config (console, --liveViewAll)
BinToss Jul 17, 2023
933fec5
chore(vscode): add launch config ".NET Core Watch (--liveViewAll)"
BinToss Jul 17, 2023
3ca22ad
chore(vscode): update launch config URLs
BinToss Jul 17, 2023
4cbbd44
chore: simplify GitVersion config
BinToss Jul 17, 2023
af723e4
chore(vscode): add ext rec. ms-dotnettools.csdevkit
BinToss Mar 22, 2024
0a728e5
chore(vscode): add ext rec. avaloniateam.vscode-avalonia
BinToss Mar 22, 2024
704c617
feat: add static property HXE.App.App
BinToss Mar 23, 2024
0827ccc
refactor: fix naming violation
BinToss Mar 23, 2024
7141804
refactor: rename temp var 'lifetime'
BinToss Mar 23, 2024
c6a74c8
refactor: remove 'partial' modifier
BinToss Mar 23, 2024
620122f
refactor: allow trying to run MainWindow in SingleView app lifetime
BinToss Mar 23, 2024
93992f1
refactor(deps): update all deps
BinToss Mar 24, 2024
d47053c
chore: fix casing requirement in GitVersion.yml
BinToss Mar 24, 2024
df5fc6f
style: set `csharp_style_var_elsewhere` to `false:none`
BinToss Mar 24, 2024
f4578c6
refactor: move Solution to repo root
BinToss Mar 24, 2024
446cc4e
chore(vscode): add more terms to cspell dictionary
BinToss Mar 24, 2024
4320bce
chore(vscodE): remove unused settings
BinToss Mar 24, 2024
995dad9
chore(vscode): enforce GitVersion 5.12 cfg schema
BinToss Mar 24, 2024
9b17be1
chore(deps): bind all Avalonia package versions to AvaloniaVersion
BinToss Mar 24, 2024
75ba697
refactor(deps): add Avalonia.ReactiveUI for DefaultExceptionHandler
BinToss Mar 24, 2024
78677ea
refactor: remove design elements from Window controls
BinToss Mar 24, 2024
a2cc86c
build(deps): add HotAvalonia for Avalonia hot-reloading capabilities
BinToss Mar 26, 2024
da9a87f
refactor: remove App NotSupportedException
BinToss Mar 26, 2024
1ff5e37
build: remove 'linux-musl-x64' runtime; add win-arm64, linux-arm64 ru…
BinToss Mar 26, 2024
ff5ab56
build: update year in property "Copyright"
BinToss Jul 7, 2024
42478bf
build: disable BuiltInComInteropSupport
BinToss Jul 7, 2024
2932f35
build: enable EnableCompressionInSingleFile for Release unconditionally
BinToss Jul 7, 2024
b6c8145
build: allow embedding the debug symbols in Linux builds
BinToss Jul 7, 2024
4427deb
build: allow Unsafe blocks
BinToss Jul 7, 2024
57aaa78
build: move prop Description to main prop group
BinToss Jul 7, 2024
6246e6d
build: enable PublishTrimmed for Release
BinToss Jul 7, 2024
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
12 changes: 7 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# editorconfig.org
# editorconfig.org
# You can learn more about editorconfig here: https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference

# top-most EditorConfig file
Expand All @@ -17,8 +17,11 @@ insert_final_newline = true
[.editorconfig]
insert_final_newline = true

[*.{xml,xaml}]
indent_style = tab
[*.{xml,xaml,axaml}]
indent_style = space
max_line_length = off
xml_alignment_tab_fill_style = use_spaces
xml_pi_attributes_indent = align_by_first_attribute

[project.json]
indent_size = 2
Expand Down Expand Up @@ -137,8 +140,7 @@ csharp_preferred_modifier_order = public,private,protected,internal,static,exter
# Types: use keywords instead of BCL types, and permit var only when the type is clear
csharp_style_var_for_built_in_types = false:suggestion
csharp_style_var_when_type_is_apparent = false:none
csharp_style_var_elsewhere = false:suggestion

csharp_style_var_elsewhere = false:none

# Code style defaults
csharp_using_directive_placement = outside_namespace:suggestion
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion .github/workflows/conv-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ permissions:
pull-requests: write

jobs:
hqprs:
cpr:
runs-on: ubuntu-latest
steps:
- name: conventional-pr
uses: Namchee/conventional-pr@v0.12.1
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
ignored_users: snyk-bot
20 changes: 8 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: release

# TODO
# - Get AssemblyName, TargetFramework (TFM), RuntimeIdentifier (RID) from Directory.Build.props, *.csproj
# - Overwrite `$env:RID and `$env:TFM with build props, allowing workflows to be driven by the project(s)
# - support multiple ASSEMBLYNAME parameters for matrices
# allow workflows to be driven by the project(s)

on:
push:
Expand All @@ -18,8 +16,6 @@ jobs:
name: Build
runs-on: windows-latest
env:
RID: "win-x86"
TFM: "net5.0-windows"
ASSEMBLYNAME: "HXE"
PROJPATH: "./src/HXE.csproj"

Expand All @@ -40,7 +36,7 @@ jobs:
# Authenticates packages to push to GPR
- uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: "6.0.x" # SDK Version to use.
dotnet-version: "6.0.x"
include-prerelease: true

- name: Add GitHub Package Repository
Expand All @@ -53,15 +49,15 @@ jobs:
# BUILD
################
- name: dotnet-publish
run: dotnet publish $env:CSPROJ_RELPATH -c Release --no-self-contained -p:ContinuousIntegrationBuild=true
run: dotnet publish ${{ env.PROJPATH }} -c Release -p:ContinuousIntegrationBuild=true

# required variables: TargetFramework, RuntimeIdentifier, GitVersion_FullSemVer
# required variables: GitVersion_FullSemVer
- name: Compress-PublishArtifacts
run: |
$publishPath = Resolve-Path ".\bin\Release\$env:TFM\$env:RID\publish";
$archiveName = "$env:ASSEMBLYNAME.$env:TFM-$env:RID.$env:GitVersion_FullSemVer.zip";
$publishPath = Resolve-Path ".\bin\Release\**\publish";
$archiveName = "$env:ASSEMBLYNAME.$env:GitVersion_FullSemVer.zip";
Set-Location $publishPath;
Compress-Archive -Path $publishPath -DestinationPath $archiveName -CompressionLevel Optimal;
Compress-Archive -Path $publishPath -DestinationPath ${{ github.workspace }}\bin\Release\publish\$archiveName -CompressionLevel Optimal;

################
# RELEASE
Expand All @@ -77,7 +73,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: publish-artifacts
path: bin/Release/${{ env.TFM }}/${{ env.RID }}/publish
path: bin/Release/publish

- name: Publish to GitHub Packages
working-directory: bin/Release
Expand Down
36 changes: 0 additions & 36 deletions .releaserc.yaml

This file was deleted.

Loading