We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e198dca commit 4fd0939Copy full SHA for 4fd0939
Makefile
@@ -1,6 +1,8 @@
1
VERSION := $(shell sh -c 'git describe --always --tags')
2
BRANCH := $(shell sh -c 'git rev-parse --abbrev-ref HEAD')
3
COMMIT := $(shell sh -c 'git rev-parse --short HEAD')
4
+DOCKER := $(shell which docker)
5
+DOCKER_IMAGE := docker-registry:5000/actiontech/universe-compiler
6
ifdef GOBIN
7
PATH := $(GOBIN):$(PATH)
8
else
@@ -59,4 +61,8 @@ vet:
59
61
fmt:
60
62
gofmt -s -w .
63
64
+
65
+docker_rpm:
66
+ $(DOCKER) run -v $(shell pwd)/:/universe/src/udup --rm $(DOCKER_IMAGE) -c "cd /universe/src/udup; GOPATH=/universe make prepare package"
67
68
.PHONY: test-short vet fmt build default
0 commit comments