2020-05-05 09:53:42 +02:00
|
|
|
# All these commands must run from repository root.
|
|
|
|
|
|
|
|
vmauth:
|
|
|
|
APP_NAME=vmauth $(MAKE) app-local
|
|
|
|
|
|
|
|
vmauth-race:
|
|
|
|
APP_NAME=vmauth RACE=-race $(MAKE) app-local
|
|
|
|
|
|
|
|
vmauth-prod:
|
|
|
|
APP_NAME=vmauth $(MAKE) app-via-docker
|
|
|
|
|
|
|
|
vmauth-pure-prod:
|
|
|
|
APP_NAME=vmauth $(MAKE) app-via-docker-pure
|
|
|
|
|
|
|
|
vmauth-amd64-prod:
|
|
|
|
APP_NAME=vmauth $(MAKE) app-via-docker-amd64
|
|
|
|
|
|
|
|
vmauth-arm-prod:
|
|
|
|
APP_NAME=vmauth $(MAKE) app-via-docker-arm
|
|
|
|
|
|
|
|
vmauth-arm64-prod:
|
|
|
|
APP_NAME=vmauth $(MAKE) app-via-docker-arm64
|
|
|
|
|
|
|
|
vmauth-ppc64le-prod:
|
|
|
|
APP_NAME=vmauth $(MAKE) app-via-docker-ppc64le
|
|
|
|
|
|
|
|
vmauth-386-prod:
|
|
|
|
APP_NAME=vmauth $(MAKE) app-via-docker-386
|
|
|
|
|
|
|
|
package-vmauth:
|
|
|
|
APP_NAME=vmauth $(MAKE) package-via-docker
|
|
|
|
|
|
|
|
package-vmauth-pure:
|
|
|
|
APP_NAME=vmauth $(MAKE) package-via-docker-pure
|
|
|
|
|
|
|
|
package-vmauth-amd64:
|
|
|
|
APP_NAME=vmauth $(MAKE) package-via-docker-amd64
|
|
|
|
|
|
|
|
package-vmauth-arm:
|
|
|
|
APP_NAME=vmauth $(MAKE) package-via-docker-arm
|
|
|
|
|
|
|
|
package-vmauth-arm64:
|
|
|
|
APP_NAME=vmauth $(MAKE) package-via-docker-arm64
|
|
|
|
|
|
|
|
package-vmauth-ppc64le:
|
|
|
|
APP_NAME=vmauth $(MAKE) package-via-docker-ppc64le
|
|
|
|
|
|
|
|
package-vmauth-386:
|
|
|
|
APP_NAME=vmauth $(MAKE) package-via-docker-386
|
|
|
|
|
|
|
|
publish-vmauth:
|
|
|
|
APP_NAME=vmauth $(MAKE) publish-via-docker
|
|
|
|
|
|
|
|
run-vmauth:
|
|
|
|
APP_NAME=vmauth \
|
2020-05-22 15:38:49 +02:00
|
|
|
DOCKER_OPTS='-v $(shell pwd)/app/vmauth/:/app/vmauth' \
|
|
|
|
ARGS='-auth.config=app/vmauth/example_config.yml' \
|
2020-05-05 09:53:42 +02:00
|
|
|
$(MAKE) run-via-docker
|
|
|
|
|
|
|
|
vmauth-amd64:
|
2020-07-31 12:42:09 +02:00
|
|
|
CGO_ENABLED=1 GOARCH=amd64 $(MAKE) vmauth-local-with-goarch
|
2020-05-05 09:53:42 +02:00
|
|
|
|
|
|
|
vmauth-arm:
|
2020-07-31 12:42:09 +02:00
|
|
|
CGO_ENABLED=0 GOARCH=arm $(MAKE) vmauth-local-with-goarch
|
2020-05-05 09:53:42 +02:00
|
|
|
|
|
|
|
vmauth-arm64:
|
2020-07-31 12:42:09 +02:00
|
|
|
CGO_ENABLED=0 GOARCH=arm64 $(MAKE) vmauth-local-with-goarch
|
2020-05-05 09:53:42 +02:00
|
|
|
|
|
|
|
vmauth-ppc64le:
|
2020-07-31 12:42:09 +02:00
|
|
|
CGO_ENABLED=0 GOARCH=ppc64le $(MAKE) vmauth-local-with-goarch
|
2020-05-05 09:53:42 +02:00
|
|
|
|
|
|
|
vmauth-386:
|
2020-07-31 12:42:09 +02:00
|
|
|
CGO_ENABLED=0 GOARCH=386 $(MAKE) vmauth-local-with-goarch
|
|
|
|
|
|
|
|
vmauth-local-with-goarch:
|
|
|
|
APP_NAME=vmauth $(MAKE) app-local-with-goarch
|
2020-05-05 09:53:42 +02:00
|
|
|
|
|
|
|
vmauth-pure:
|
|
|
|
APP_NAME=vmauth $(MAKE) app-local-pure
|
2021-03-16 19:49:07 +01:00
|
|
|
|
|
|
|
vmauth-windows-amd64:
|
|
|
|
GOARCH=amd64 APP_NAME=vmauth $(MAKE) app-local-windows-with-goarch
|
|
|
|
|
|
|
|
vmauth-windows-amd64-prod:
|
|
|
|
APP_NAME=vmauth $(MAKE) app-via-docker-windows-amd64
|