mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-24 22:39:25 +01:00
13 lines
300 B
Makefile
13 lines
300 B
Makefile
PLATFORMS := linux/amd64 linux/arm64 linux/arm/v7
|
|
|
|
temp = $(subst /, ,$@)
|
|
os = $(word 1, $(temp))
|
|
arch = $(word 2, $(temp))
|
|
version = draft
|
|
|
|
release: $(PLATFORMS)
|
|
|
|
$(PLATFORMS):
|
|
GOOS=$(os) GOARCH=$(arch) go build -o 'traefik-ondemand-service_$(version)_$(os)-$(arch)' .
|
|
|
|
.PHONY: release $(PLATFORMS) |