mirror of https://github.com/on4kjm/FLEcli.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
334 B
17 lines
334 B
4 years ago
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
go test ./...
|
||
|
|
||
|
mkdir -p executables/windows
|
||
|
mkdir -p executables/macos
|
||
|
mkdir -p executables/linux
|
||
|
|
||
|
#Update version
|
||
|
|
||
|
GOOS=windows GOARCH=386 go build -o executables/windows/FLEcli.exe
|
||
|
GOOS=darwin GOARCH=amd64 go build -o executables/macos/FLEcli
|
||
|
GOOS=linux GOARCH=amd64 go build -o executables/linux/FLEcli-amd64
|
||
|
|