Skip to content

Commit 5735b55

Browse files
author
Joshua Reed
committed
Fixup PROJECT_DIR export.
1 parent 5a64d89 commit 5735b55

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RELEASE_DIR ?= out
2323
export ACK_GINKGO_DEPRECATIONS := 1.16.5
2424
export ACK_GINKGO_RC=true
2525

26-
PROJECT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
26+
export PROJECT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
2727
export PATH := $(PROJECT_DIR)/bin:$(PATH)
2828

2929
all: build
@@ -179,10 +179,6 @@ export KUBEBUILDER_ASSETS=$(PROJECT_DIR)/bin
179179
test: generate-mocks lint bin/ginkgo bin/kubectl bin/kube-apiserver bin/etcd ## Run tests. At the moment this is only unit tests.
180180
@./hack/testing_ginkgo_recover_statements.sh --add # Add ginkgo.GinkgoRecover() statements to controllers.
181181
@# The following is a slightly funky way to make sure the ginkgo statements are removed regardless the test results.
182-
echo $$PROJECT_DIR
183-
echo $$PROJECT_DIR
184-
echo $$PROJECT_DIR
185-
echo $$PROJECT_DIR
186182
@cd ./test/unit && ginkgo_v2 -v ./... -coverprofile cover.out; EXIT_STATUS=$$?;\
187183
cd ../../ && ./hack/testing_ginkgo_recover_statements.sh --remove; exit $$EXIT_STATUS
188184

0 commit comments

Comments
 (0)