2019-11-07 20:05:39 +01:00
|
|
|
# All these commands must run from repository root.
|
|
|
|
|
2022-07-13 14:42:48 +02:00
|
|
|
# Application build
|
2019-11-07 20:05:39 +01:00
|
|
|
vmbackup:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-local
|
|
|
|
|
2020-03-05 11:02:06 +01:00
|
|
|
vmbackup-race:
|
|
|
|
APP_NAME=vmbackup RACE=-race $(MAKE) app-local
|
|
|
|
|
2019-11-07 20:05:39 +01:00
|
|
|
vmbackup-prod:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker
|
|
|
|
|
2019-12-11 22:06:53 +01:00
|
|
|
vmbackup-pure-prod:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-pure
|
|
|
|
|
2022-07-13 14:42:48 +02:00
|
|
|
# GOOS=linux
|
|
|
|
vmbackup-linux-amd64-prod:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-linux-amd64
|
2019-12-24 11:42:42 +01:00
|
|
|
|
2022-07-13 14:42:48 +02:00
|
|
|
vmbackup-linux-arm64-prod:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-linux-arm64
|
2019-12-11 22:06:53 +01:00
|
|
|
|
2022-07-13 14:42:48 +02:00
|
|
|
vmbackup-linux-arm-prod:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-linux-arm
|
2019-12-11 22:06:53 +01:00
|
|
|
|
2022-07-13 14:42:48 +02:00
|
|
|
# GOOS=darwin
|
2022-02-14 16:28:56 +01:00
|
|
|
vmbackup-darwin-amd64-prod:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-darwin-amd64
|
|
|
|
|
|
|
|
vmbackup-darwin-arm64-prod:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-darwin-arm64
|
|
|
|
|
2022-07-13 14:42:48 +02:00
|
|
|
# GOARCH=ppc64le
|
|
|
|
vmbackup-ppc64le-prod:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-ppc64le
|
|
|
|
|
|
|
|
# GOARCH=386
|
|
|
|
vmbackup-386-prod:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-386
|
|
|
|
|
|
|
|
# Package build
|
2019-11-07 20:05:39 +01:00
|
|
|
package-vmbackup:
|
|
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker
|
|
|
|
|
2019-12-11 22:06:53 +01:00
|
|
|
package-vmbackup-pure:
|
|
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker-pure
|
|
|
|
|
2019-12-24 11:42:42 +01:00
|
|
|
package-vmbackup-amd64:
|
|
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker-amd64
|
|
|
|
|
2019-12-11 22:06:53 +01:00
|
|
|
package-vmbackup-arm:
|
|
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker-arm
|
|
|
|
|
|
|
|
package-vmbackup-arm64:
|
|
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker-arm64
|
|
|
|
|
|
|
|
package-vmbackup-ppc64le:
|
|
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker-ppc64le
|
|
|
|
|
|
|
|
package-vmbackup-386:
|
|
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker-386
|
|
|
|
|
2019-11-07 20:05:39 +01:00
|
|
|
publish-vmbackup:
|
|
|
|
APP_NAME=vmbackup $(MAKE) publish-via-docker
|
|
|
|
|
2019-12-24 11:42:42 +01:00
|
|
|
vmbackup-amd64:
|
2020-07-31 12:42:09 +02:00
|
|
|
CGO_ENABLED=1 GOARCH=amd64 $(MAKE) vmbackup-local-with-goarch
|
2019-12-24 11:42:42 +01:00
|
|
|
|
2019-11-07 20:05:39 +01:00
|
|
|
vmbackup-arm:
|
2020-07-31 12:42:09 +02:00
|
|
|
CGO_ENABLED=0 GOARCH=arm $(MAKE) vmbackup-local-with-goarch
|
2019-11-07 20:05:39 +01:00
|
|
|
|
|
|
|
vmbackup-arm64:
|
2020-07-31 12:42:09 +02:00
|
|
|
CGO_ENABLED=0 GOARCH=arm64 $(MAKE) vmbackup-local-with-goarch
|
2019-11-07 20:05:39 +01:00
|
|
|
|
2019-12-11 22:06:53 +01:00
|
|
|
vmbackup-ppc64le:
|
2020-07-31 12:42:09 +02:00
|
|
|
CGO_ENABLED=0 GOARCH=ppc64le $(MAKE) vmbackup-local-with-goarch
|
2019-11-07 20:05:39 +01:00
|
|
|
|
|
|
|
vmbackup-386:
|
2020-07-31 12:42:09 +02:00
|
|
|
CGO_ENABLED=0 GOARCH=386 $(MAKE) vmbackup-local-with-goarch
|
|
|
|
|
|
|
|
vmbackup-local-with-goarch:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-local-with-goarch
|
|
|
|
|
|
|
|
vmbackup-pure:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-local-pure
|