mirror of
https://github.com/kernelstub/Ferrum
synced 2026-06-21 13:55:09 +00:00
14 lines
273 B
PowerShell
14 lines
273 B
PowerShell
param(
|
|
[string]$Out = "ferrum.exe"
|
|
)
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
$env:GOOS = "windows"
|
|
$env:GOARCH = "amd64"
|
|
$env:CGO_ENABLED = "0"
|
|
|
|
Write-Host "[*] Building Ferrum for Windows x64..."
|
|
go build -trimpath -ldflags "-s -w" -o $Out ./cmd
|
|
Write-Host "[+] Built $Out"
|