2020-05-17 23:12:42 +00:00
|
|
|
build:
|
|
|
|
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -gcflags "all=-trimpath=/Users/dane/Sites/development/code" -o build/wings_linux_amd64 -v wings.go
|
2017-06-27 10:42:56 +00:00
|
|
|
|
2020-05-17 23:12:42 +00:00
|
|
|
compress:
|
|
|
|
upx --brute build/wings_*
|
2017-06-27 10:42:56 +00:00
|
|
|
|
2020-05-17 23:12:42 +00:00
|
|
|
cross-build: clean build compress
|
2017-06-27 10:42:56 +00:00
|
|
|
|
2020-05-17 23:12:42 +00:00
|
|
|
clean:
|
|
|
|
rm -rf build/wings_*
|