2019-11-07 20:05:39 +01:00
|
|
|
# All these commands must run from repository root.
|
|
|
|
|
|
|
|
vmbackup:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-local
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
vmbackup--arm-prod:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-arm
|
|
|
|
|
|
|
|
vmbackup-arm64-prod:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-arm64
|
|
|
|
|
|
|
|
vmbackup-ppc64le-prod:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-ppc64le
|
|
|
|
|
|
|
|
vmbackup-386-prod:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-386
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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-11 22:06:53 +01:00
|
|
|
vmbackup-pure:
|
|
|
|
APP_NAME=vmbackup $(MAKE) app-local-pure
|
|
|
|
|
2019-11-07 20:05:39 +01:00
|
|
|
vmbackup-arm:
|
|
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm GO111MODULE=on go build -mod=vendor -ldflags "$(GO_BUILDINFO)" -o bin/vmbackup-arm ./app/vmbackup
|
|
|
|
|
|
|
|
vmbackup-arm64:
|
|
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 GO111MODULE=on go build -mod=vendor -ldflags "$(GO_BUILDINFO)" -o bin/vmbackup-arm64 ./app/vmbackup
|
|
|
|
|
2019-12-11 22:06:53 +01:00
|
|
|
vmbackup-ppc64le:
|
|
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=ppc64le GO111MODULE=on go build -mod=vendor -ldflags "$(GO_BUILDINFO)" -o bin/vmbackup-ppc64le ./app/vmbackup
|
2019-11-07 20:05:39 +01:00
|
|
|
|
|
|
|
vmbackup-386:
|
|
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=386 GO111MODULE=on go build -mod=vendor -ldflags "$(GO_BUILDINFO)" -o bin/vmbackup-386 ./app/vmbackup
|