forked from openshift/api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (26 loc) · 722 Bytes
/
Makefile
File metadata and controls
33 lines (26 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
all: build
.PHONY: all
RUNTIME ?= podman
RUNTIME_IMAGE_NAME ?= openshift-api-generator
build:
go build github.com/openshift/api/...
.PHONY: build
test:
go test github.com/openshift/api/...
.PHONY: test
verify:
hack/verify-deepcopy.sh
hack/verify-protobuf.sh
hack/verify-swagger-docs.sh
.PHONY: verify
update-deps:
hack/update-deps.sh
.PHONY: update-deps
generate-with-container: Dockerfile.build
$(RUNTIME) build -t $(RUNTIME_IMAGE_NAME) -f Dockerfile.build .
$(RUNTIME) run -ti --rm -v $(PWD):/go/src/github.com/openshift/api:z -w /go/src/github.com/openshift/api $(RUNTIME_IMAGE_NAME) make generate
generate:
hack/update-deepcopy.sh
hack/update-protobuf.sh
hack/update-swagger-docs.sh
.PHONY: generate