wrp/Makefile

24 lines
792 B
Makefile
Raw Normal View History

2019-08-04 09:01:55 -07:00
all: wrp
2019-06-04 01:42:22 -07:00
2022-03-17 02:27:34 +00:00
wrp: wrp.go
2019-08-04 09:01:55 -07:00
go build wrp.go
2019-06-04 01:42:22 -07:00
2022-03-17 02:27:34 +00:00
cross:
2019-08-04 09:01:55 -07:00
GOOS=linux GOARCH=amd64 go build -a -o wrp-amd64-linux wrp.go
GOOS=freebsd GOARCH=amd64 go build -a -o wrp-amd64-freebsd wrp.go
GOOS=openbsd GOARCH=amd64 go build -a -o wrp-amd64-openbsd wrp.go
GOOS=darwin GOARCH=amd64 go build -a -o wrp-amd64-macos wrp.go
2022-03-17 02:27:34 +00:00
GOOS=darwin GOARCH=arm64 go build -a -o wrp-arm64-macos wrp.go
2019-08-04 09:01:55 -07:00
GOOS=windows GOARCH=amd64 go build -a -o wrp-amd64-windows.exe wrp.go
GOOS=linux GOARCH=arm go build -a -o wrp-arm-linux wrp.go
2019-11-14 00:52:25 -08:00
GOOS=linux GOARCH=arm64 go build -a -o wrp-arm64-linux wrp.go
2019-06-06 03:57:53 -04:00
2024-06-10 01:58:38 -07:00
docker-local:
docker buildx build --platform linux/amd64,linux/arm64 -t tenox7/wrp:latest --load .
docker-push:
2024-05-23 00:33:40 -07:00
docker buildx build --platform linux/amd64,linux/arm64 -t tenox7/wrp:latest --push .
2019-10-14 22:24:14 -07:00
2019-06-04 01:42:22 -07:00
clean:
2022-03-17 02:27:34 +00:00
rm -rf wrp-* wrp