8 lines
No EOL
446 B
Bash
Executable file
8 lines
No EOL
446 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
mkdir -p build
|
|
GOOS=windows GOARCH=amd64 go build -ldflags "-H=windowsgui -s -w" -o build/lychee-slicer-launcher-windows.exe
|
|
GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o build/lychee-slicer-launcher-linux
|
|
|
|
gpg --output build/lychee-slicer-launcher-windows.exe.sig --detach-sig build/lychee-slicer-launcher-windows.exe
|
|
gpg --output build/lychee-slicer-launcher-linux.sig --detach-sig build/lychee-slicer-launcher-linux |