Skip to content

Commit 7ec76f0

Browse files
committed
OCPBUGS-55425: remove the make build cross rule and add build rule, update README.
1 parent 29d3072 commit 7ec76f0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ check: | verify test-unit
1818

1919
IMAGE_REGISTRY?=registry.svc.ci.openshift.org
2020

21+
TAGS ?= ocp
22+
2123
# This will call a macro called "build-image" which will generate image specific targets based on the parameters:
2224
# $0 - macro name
2325
# $1 - target name
@@ -37,6 +39,9 @@ $(call add-profile-manifests,manifests,./profile-patches,./manifests)
3739

3840
GO_UNIT_TEST_PACKAGES :=./pkg/... ./cmd/...
3941

42+
build:
43+
go build -tags '$(TAGS)' -o $@ ./cmd/console/main.go
44+
4045
# Run tests
4146
test: test-unit test-e2e
4247

0 commit comments

Comments
 (0)