From 44a47992d9c9b421dc6ee48e07193fade4ad9a67 Mon Sep 17 00:00:00 2001 From: philau2512 Date: Wed, 15 Jul 2026 17:53:45 +0700 Subject: [PATCH] feat(build): add PowerShell and batch build scripts for convenient compilation --- build.bat | 3 +++ build.ps1 | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 build.bat create mode 100644 build.ps1 diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..7ca3f4b --- /dev/null +++ b/build.bat @@ -0,0 +1,3 @@ +@echo off +powershell -NoProfile -ExecutionPolicy Bypass -Command "$env:Path = [System.Environment]::GetEnvironmentVariable('Path','Machine') + ';' + [System.Environment]::GetEnvironmentVariable('Path','User') + ';$HOME\go\bin'; task build" +pause diff --git a/build.ps1 b/build.ps1 new file mode 100644 index 0000000..90308be --- /dev/null +++ b/build.ps1 @@ -0,0 +1,2 @@ +$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") + ";$HOME\go\bin" +task build