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
|
2024-07-07 23:38:33 -07:00
|
|
|
go build -a
|
2019-06-04 01:42:22 -07:00
|
|
|
|
2022-03-17 02:27:34 +00:00
|
|
|
cross:
|
2024-07-07 23:38:33 -07:00
|
|
|
GOOS=linux GOARCH=amd64 go build -a -o wrp-amd64-linux
|
|
|
|
GOOS=freebsd GOARCH=amd64 go build -a -o wrp-amd64-freebsd
|
|
|
|
GOOS=openbsd GOARCH=amd64 go build -a -o wrp-amd64-openbsd
|
|
|
|
GOOS=darwin GOARCH=amd64 go build -a -o wrp-amd64-macos
|
|
|
|
GOOS=darwin GOARCH=arm64 go build -a -o wrp-arm64-macos
|
|
|
|
GOOS=windows GOARCH=amd64 go build -a -o wrp-amd64-windows.exe
|
|
|
|
GOOS=linux GOARCH=arm go build -a -o wrp-arm-linux
|
|
|
|
GOOS=linux GOARCH=arm64 go build -a -o wrp-arm64-linux
|
2019-06-06 03:57:53 -04:00
|
|
|
|
2024-06-10 01:58:38 -07:00
|
|
|
docker-local:
|
2024-07-09 01:57:51 -07:00
|
|
|
GOOS=linux GOARCH=amd64 go build -a -o wrp-amd64-linux
|
|
|
|
GOOS=linux GOARCH=arm64 go build -a -o wrp-arm64-linux
|
|
|
|
docker buildx build --platform linux/amd64,linux/arm64 -t tenox7/wrp:latest -f Dockerfile.local --load .
|
2024-06-10 01:58:38 -07:00
|
|
|
|
|
|
|
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
|