Skip to content

Commit

Permalink
make include optional
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Oberlechner <[email protected]>
  • Loading branch information
geoberle committed Dec 11, 2024
1 parent 72e1aed commit 3295872
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include ../setup-env.mk
-include ../setup-env.mk

ifndef COMMIT
COMMIT := $(shell git rev-parse --short=7 HEAD)
Expand Down
6 changes: 5 additions & 1 deletion frontend/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include ../setup-env.mk
-include ../setup-env.mk

ifndef COMMIT
COMMIT := $(shell git rev-parse --short=7 HEAD)
Expand All @@ -11,6 +11,10 @@ ARO_HCP_FRONTEND_IMAGE ?= $(ARO_HCP_BASE_IMAGE)/arohcpfrontend:$(COMMIT)
frontend:
go build -o aro-hcp-frontend .

info:
@echo "ARO_HCP_FRONTEND_IMAGE: ${ARO_HCP_FRONTEND_IMAGE}"
@echo "COMMIT: ${COMMIT}"

run:
./aro-hcp-frontend --use-cache --location ${LOCATION} \
--clusters-service-url http://localhost:8000 \
Expand Down

0 comments on commit 3295872

Please sign in to comment.