Commit Graph

197 Commits

Author SHA1 Message Date
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
Morilli a803407cdd Mark Package.sh as executable again
fixes 9c4a818423
2024-03-23 11:29:58 +01:00
Morilli d17352a204 Fix Package.sh
untested because it wouldn't be fun otherwise
2024-03-22 17:33:38 +01:00
Sergio Martin 9c4a818423
Replace QuickNES core with QuickerNES (squashed PR #3839)
resolves #3848
2024-03-23 01:31:22 +10:00
James Groom 485cafadff
Nix expr: Regen NuGet lockfile 2024-03-15 20:39:22 +10:00
James Groom 39a52105e9
Nix expr: Use correct path for libgdiplus, fixes testroms projects
fixes e8a3b7b25
2024-03-07 15:21:29 +10:00
James Groom e8a3b7b250
Nix expr: Fix running tests in nix-shell 2024-03-07 03:11:13 +00:00
CasualPokePlayer 1bbc54f29f add back encore submodule + build script + add windows build + a few more renamings 2024-03-05 16:13:51 -08:00
James Groom a3f8015489
Nix expr: Regen NuGet lockfile 2024-02-24 06:03:31 +10:00
James Groom 6309e3b7fc
Nix expr: Fix DiscoHawk launch script 2024-02-14 16:20:02 +00:00
James Groom 88013f5d18
Nix expr: Regen NuGet lockfile
fixes b34e713f1
2024-02-14 16:17:43 +00:00
James Groom 131bc65e8f
Bump .NET SDK to 8.x 2024-02-12 20:38:03 +00:00
James Groom 86684b6893
Use long flag for `dotnet test -a` since it changes in .NET 7 2024-02-13 06:28:15 +10:00
James Groom ae1bd18094
Nix expr: Update NuGet deps lockfile 2023-12-23 12:14:29 +10:00
James Groom 1e5d11bf84
Increase verbosity of `dotnet build` in CI 2023-12-22 03:20:19 +00:00
James Groom a48ca42125
Update assets denylist in `Package.sh` again
fixes dc659ddb9
2023-12-17 19:24:25 +10:00
Morilli dc659ddb93 Update Package.sh
unsure if sqlite and sdl dlls are safe to remove for linux package
2023-12-17 01:20:38 +01:00
James Groom 7ee28c1ab9
Nix expr: Add `libGL` to `buildInputs` on NixOS
currently `libGL.so.1` just happens to be in the closure via `cairo`, but that's no longer the case in Nixpkgs 23.11
2023-12-02 18:40:22 +00:00
James Groom b06d706a13
Nix expr: Invert default for `doCheck` (it just works now?)
...and clean up the disabling of filesystem-related unit tests.
...and, surprise! Setting `ContinuousIntegrationBuild` was enough to fix the remaining r13y problems. I spent hours pre-merge trying random things, so that's irritating.
2023-11-25 14:56:06 +00:00
James Groom dada959cfa
Nix expr: Add binary releases back to 2.3.2, some cleanup 2023-11-21 04:15:37 +00:00
Morilli 83ec4594d6 make script executable 2023-11-20 09:41:56 +01:00
James Groom 6a830f556a
Add back missing newlines from github.dev import
fixes b47b4d63b
2023-11-20 02:22:33 +00:00
James Groom b47b4d63b1
Nix expr: Complete rewrite, a LOT of new features 2023-11-19 13:33:48 +00:00
James Groom 15d663f68d
Silence "not found" error when building w/o Git
fixes 096066150
2023-09-29 04:49:18 +10:00