mirror of
https://github.com/tenox7/wrp.git
synced 2024-11-21 19:30:48 +00:00
fix makefile
This commit is contained in:
parent
8d165df36d
commit
00304b5d05
18
Makefile
18
Makefile
@ -1,17 +1,17 @@
|
|||||||
all: wrp
|
all: wrp
|
||||||
|
|
||||||
wrp: wrp.go
|
wrp: wrp.go
|
||||||
go build wrp.go
|
go build -a
|
||||||
|
|
||||||
cross:
|
cross:
|
||||||
GOOS=linux GOARCH=amd64 go build -a -o wrp-amd64-linux wrp.go
|
GOOS=linux GOARCH=amd64 go build -a -o wrp-amd64-linux
|
||||||
GOOS=freebsd GOARCH=amd64 go build -a -o wrp-amd64-freebsd wrp.go
|
GOOS=freebsd GOARCH=amd64 go build -a -o wrp-amd64-freebsd
|
||||||
GOOS=openbsd GOARCH=amd64 go build -a -o wrp-amd64-openbsd wrp.go
|
GOOS=openbsd GOARCH=amd64 go build -a -o wrp-amd64-openbsd
|
||||||
GOOS=darwin GOARCH=amd64 go build -a -o wrp-amd64-macos wrp.go
|
GOOS=darwin GOARCH=amd64 go build -a -o wrp-amd64-macos
|
||||||
GOOS=darwin GOARCH=arm64 go build -a -o wrp-arm64-macos wrp.go
|
GOOS=darwin GOARCH=arm64 go build -a -o wrp-arm64-macos
|
||||||
GOOS=windows GOARCH=amd64 go build -a -o wrp-amd64-windows.exe wrp.go
|
GOOS=windows GOARCH=amd64 go build -a -o wrp-amd64-windows.exe
|
||||||
GOOS=linux GOARCH=arm go build -a -o wrp-arm-linux wrp.go
|
GOOS=linux GOARCH=arm go build -a -o wrp-arm-linux
|
||||||
GOOS=linux GOARCH=arm64 go build -a -o wrp-arm64-linux wrp.go
|
GOOS=linux GOARCH=arm64 go build -a -o wrp-arm64-linux
|
||||||
|
|
||||||
docker-local:
|
docker-local:
|
||||||
docker buildx build --platform linux/amd64,linux/arm64 -t tenox7/wrp:latest --load .
|
docker buildx build --platform linux/amd64,linux/arm64 -t tenox7/wrp:latest --load .
|
||||||
|
Loading…
Reference in New Issue
Block a user