Commit Graph

220 Commits

Author SHA1 Message Date
YoshiRulz af6c4d9815
Nix expr: Regen NuGet lockfile
fixes 83c0ea81f
2024-11-08 06:35:57 +10:00
YoshiRulz e3cfcdaeb9
Nix expr: Fix `emuhawk-*-bin` eval error
fixes 760a5b528
2024-09-28 12:51:27 +10:00
YoshiRulz 760a5b5285
Nix expr: Set `$GTK_PATH` to mute warning 2024-09-22 03:19:25 +10:00
YoshiRulz 9a2c163461
Nix expr: Add `gtk2-x11` (`libgtk-x11-2.0.so.0`) to `buildInputs` 2024-09-22 03:19:06 +10:00
YoshiRulz 8bfe963bbb
Nix expr: Extract function 2024-09-22 02:04:18 +10:00
YoshiRulz b8b7fabd3a
Nix expr: Regen NuGet lockfile 2024-09-08 23:18:03 +10:00
YoshiRulz d908d77186 Replace implementation of `ArgParser` using `System.CommandLine` 2024-09-08 19:48:11 +10:00
YoshiRulz 4fc3d9bd40
Update Meziantou.Analyzer and enable new rule MA0160
"Use ContainsKey instead of TryGetValue"

I checked the source and MA0159 "Use 'Order' instead of 'OrderBy'" looks
for the LINQ method in the BCL specifically, not by signature, so we
can't replace our bespoke `OrderBySelfAnalyzer` :(
2024-09-02 22:34:11 +10:00
YoshiRulz 3d37901677
Nix expr: Regen NuGet lockfile
fixes c882fe4ea5
2024-08-26 04:10:28 +10:00
YoshiRulz 5ee53db53b
Nix expr: Expose Mono's profiler 2024-08-17 18:17:00 +10:00
YoshiRulz 07508a91f2
Nix expr: Remove TODO which has been resolved 2024-08-17 18:11:11 +10:00
YoshiRulz 19bf70a9c9
Nix expr: Regen NuGet lockfile 2024-08-09 11:36:56 +10:00
YoshiRulz 7a8b9b13ff
Nix expr: Add `hawkSourceInfo.mainAppFilename` 2024-07-29 22:26:22 +10:00
YoshiRulz 8e3486a50a
Nix expr: Expose `populateHawkSourceInfo`
fixes 8055cd134
(I forgot to update the automagic docs when adding `-A IDEs.kate`)
2024-07-29 21:04:26 +10:00
YoshiRulz 92f762b0c0
Nix expr: Refactor how `custombuild.txt` is set declaratively 2024-07-29 21:01:45 +10:00
YoshiRulz 22e5e035d2
Remove a couple references to deprecated `--mono-no-redirect` flag 2024-07-26 15:52:59 +10:00
YoshiRulz 53fcb93d0e
Nix expr: Regen NuGet lockfile
fixes c6101a190
2024-07-09 00:12:27 +10:00
YoshiRulz dbc6acc8fb
Nix expr: Document nix-shell for dev and Kate 2024-07-05 22:33:34 +10:00
YoshiRulz 4d1e852d2d
Bump Roslyn and testing deps 2024-07-02 05:59:31 +10:00
YoshiRulz a329d076f0
Improve dev-facing error message in Git hook install script 2024-06-21 23:54:47 +10:00
YoshiRulz 62c1c11698
Have Git hook shim skip execution when checking out old commits 2024-06-21 22:56:12 +10:00
YoshiRulz afd496a185
Make Git hooks print message when PowerShell not found 2024-06-21 22:54:15 +10:00
YoshiRulz f3ae45b7bd
Fix Git hooks failing when `pwsh` and `dotnet` are missing from `PATH`
forgot `set -e` applies to subshells
2024-06-21 22:50:50 +10:00
YoshiRulz 4e659d810b
Use Git hook name without file extension for messages 2024-06-09 22:29:54 +10:00
YoshiRulz 65219d03e6
Fix Git hook installation flagging matching script as mismatch
fixes 124a1ea50
2024-06-09 22:29:54 +10:00
YoshiRulz 2b05071493
Revert "Add some prints to Git hook installation script for GitHub Actions"
This reverts commit 8e6351e88c.
2024-06-09 22:20:58 +10:00
YoshiRulz 8e6351e88c
Add some prints to Git hook installation script for GitHub Actions 2024-06-09 22:20:43 +10:00
YoshiRulz e19c8fe5f5
Fix Git hook detecting global PowerShell but trying to use dotnet tool
fixes c5f6dcd4e
2024-06-09 21:42:16 +10:00
YoshiRulz c5f6dcd4e8
Make PowerShell strictly optional for Git hooks
...and remove auto-`dotnet tool restore`. If you don't have PowerShell
on `$PATH`/`%PATH%`, Git hooks will simply not be ran.
I still intend to migrate the rest of `/Dist` to PowerShell. Undecided
on unmanaged cores and wbox.
2024-06-09 12:51:32 +10:00
YoshiRulz 1d46919f6a
Enable custom scripts to run on Git hooks 2024-06-09 12:48:11 +10:00
YoshiRulz 124a1ea509
Simplify Git hook installation 2024-06-09 12:48:06 +10:00
YoshiRulz e424e716f8
Drop Batch impl. of Git hook (shim) as it's apparently not used
see ffa5bb9b7
this should now work in Git BASH as well
and it wasn't all for nothing, at least now I have reference for a
polyglot if the need arises
2024-06-09 12:16:38 +10:00
YoshiRulz ffa5bb9b74
Use a polyglot BASH/Batch script as a shim for the Git commit hook 2024-06-08 14:28:38 +10:00
YoshiRulz 5d80e2657b
Nix expr: Regen NuGet lockfile 2024-06-07 22:32:03 +10:00
YoshiRulz f58b4640c5
Have local dotnet tools restored with NuGet packages
reverts 8f7e61339
2024-06-07 22:03:16 +10:00
YoshiRulz 84e337b05c
Fix `install_git_hooks.ps1` failing when target file doesn't exist
fixes 5c3171171
of course I covered every case but the obvious one
2024-06-07 15:54:39 +10:00
YoshiRulz 8f7e613398
Ensure local dotnet tools are restored on Linux and for CI
Windows users can do it manually if VS doesn't, at least until #3013
2024-06-07 15:46:46 +10:00
YoshiRulz 5c31711710
Automatically install client-side Git hooks
This is how npm-style RCE hacks happen by the way. You should all be
vetting `dotnet-tools.json` and all MSBuild and PowerShell scripts.
2024-06-07 15:39:44 +10:00
YoshiRulz 15be0d625c
Nix expr: Set `mainProgram` for installables 2024-06-05 15:15:58 +10:00
YoshiRulz 6cb07dd53e
Nix expr: Override `<DebugType/>`
not functional, just so I don't forget
2024-06-03 09:32:49 +10:00
YoshiRulz f5af95c432
Nix expr: Harden checksums 2024-06-02 11:48:32 +10:00
YoshiRulz f16e2107bf
Nix expr: Run extra Analyzers during checkPhase
it just works now idk
2024-06-01 10:12:09 +10:00
YoshiRulz a18fbb8742
Nix expr: Fix unit tests not working since they were changed to net48 2024-06-01 10:07:03 +10:00
YoshiRulz db75fda3b8
Nix expr: Regen NuGet lockfile
not that you can build atm without overriding `doCheck`
2024-05-30 10:56:02 +10:00
Morilli cda8dfaacc simplify and update Package.sh 2024-05-25 21:18:34 +02:00
James Groom e1fe18be36
Nix expr: Regen NuGet lockfile 2024-05-24 05:29:35 +10:00
James Groom 7b785858b4
Nix expr: Regen NuGet lockfile 2024-05-09 15:41:48 +10:00
Morilli 98fc076c5b Exclude deps.json in package.sh 2024-05-05 14:38:55 +02:00
CasualPokePlayer ab1c05023f Update/minor cleanup dist scripts 2024-05-04 18:01:11 -07:00
James Groom dd9e4178d6
Use MSBuild to create empty dirs in output 2024-04-04 00:17:32 +00:00