Commit Graph

7 Commits

Author SHA1 Message Date
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 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