2019-11-07 19:05:39 +00:00
|
|
|
# All these commands must run from repository root.
|
|
|
|
|
|
|
|
vmrestore:
|
|
|
|
APP_NAME=vmrestore $(MAKE) app-local
|
|
|
|
|
|
|
|
vmrestore-prod:
|
|
|
|
APP_NAME=vmrestore $(MAKE) app-via-docker
|
|
|
|
|
2019-12-11 21:06:53 +00:00
|
|
|
vmrestore-pure-prod:
|
|
|
|
APP_NAME=vmrestore $(MAKE) app-via-docker-pure
|
|
|
|
|
|
|
|
vmrestore--arm-prod:
|
|
|
|
APP_NAME=vmrestore $(MAKE) app-via-docker-arm
|
|
|
|
|
|
|
|
vmrestore-arm64-prod:
|
|
|
|
APP_NAME=vmrestore $(MAKE) app-via-docker-arm64
|
|
|
|
|
|
|
|
vmrestore-ppc64le-prod:
|
|
|
|
APP_NAME=vmrestore $(MAKE) app-via-docker-ppc64le
|
|
|
|
|
|
|
|
vmrestore-386-prod:
|
|
|
|
APP_NAME=vmrestore $(MAKE) app-via-docker-386
|
|
|
|
|
2019-11-07 19:05:39 +00:00
|
|
|
package-vmrestore:
|
|
|
|
APP_NAME=vmrestore $(MAKE) package-via-docker
|
|
|
|
|
2019-12-11 21:06:53 +00:00
|
|
|
package-vmrestore-pure:
|
|
|
|
APP_NAME=vmrestore $(MAKE) package-via-docker-pure
|
|
|
|
|
|
|
|
package-vmrestore-arm:
|
|
|
|
APP_NAME=vmrestore $(MAKE) package-via-docker-arm
|
|
|
|
|
|
|
|
package-vmrestore-arm64:
|
|
|
|
APP_NAME=vmrestore $(MAKE) package-via-docker-arm64
|
|
|
|
|
|
|
|
package-vmrestore-ppc64le:
|
|
|
|
APP_NAME=vmrestore $(MAKE) package-via-docker-ppc64le
|
|
|
|
|
|
|
|
package-vmrestore-386:
|
|
|
|
APP_NAME=vmrestore $(MAKE) package-via-docker-386
|
|
|
|
|
2019-11-07 19:05:39 +00:00
|
|
|
publish-vmrestore:
|
|
|
|
APP_NAME=vmrestore $(MAKE) publish-via-docker
|
|
|
|
|
2019-12-11 21:06:53 +00:00
|
|
|
vmrestore-pure:
|
|
|
|
APP_NAME=vmrestore $(MAKE) app-local-pure
|
|
|
|
|
2019-11-07 19:05:39 +00:00
|
|
|
vmrestore-arm:
|
|
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm GO111MODULE=on go build -mod=vendor -ldflags "$(GO_BUILDINFO)" -o bin/vmrestore-arm ./app/vmrestore
|
|
|
|
|
|
|
|
vmrestore-arm64:
|
|
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 GO111MODULE=on go build -mod=vendor -ldflags "$(GO_BUILDINFO)" -o bin/vmrestore-arm64 ./app/vmrestore
|
|
|
|
|
2019-12-11 21:06:53 +00:00
|
|
|
vmrestore-ppc64le:
|
|
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=ppc64le GO111MODULE=on go build -mod=vendor -ldflags "$(GO_BUILDINFO)" -o bin/vmrestore-ppc64le ./app/vmrestore
|
2019-11-07 19:05:39 +00:00
|
|
|
|
|
|
|
vmrestore-386:
|
|
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=386 GO111MODULE=on go build -mod=vendor -ldflags "$(GO_BUILDINFO)" -o bin/vmrestore-386 ./app/vmrestore
|