From 3919bab337a88ae7ea87e375d981b7c1489c39f2 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 4 Dec 2024 08:57:43 -0500 Subject: [PATCH 1/2] frontend: Explicitly name "frontend" as the default make goal setup-env.mk is included before the "frontend" goal is defined and because we were not explicitly naming it as the default goal, the 1st goal in setup-env.mk became the implicit default goal. --- frontend/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/Makefile b/frontend/Makefile index 6046c69bd..99b2fa958 100644 --- a/frontend/Makefile +++ b/frontend/Makefile @@ -4,6 +4,8 @@ COMMIT ?= $(shell git rev-parse --short=7 HEAD) ARO_HCP_BASE_IMAGE ?= ${ARO_HCP_IMAGE_ACR}.azurecr.io ARO_HCP_FRONTEND_IMAGE ?= $(ARO_HCP_BASE_IMAGE)/arohcpfrontend:$(COMMIT) +.DEFAULT_GOAL := frontend + frontend: go build -o aro-hcp-frontend . From 421aafe732a6397e8aba8bd902568050e4a35929 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 4 Dec 2024 08:58:46 -0500 Subject: [PATCH 2/2] backend: Explicitly name "backend" as the default make goal setup-env.mk is included before the "backend" goal is defined and because we were not explicitly naming it as the default goal, the 1st goal in setup-env.mk became the implicit default goal. --- backend/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/Makefile b/backend/Makefile index 51934ea30..b1de4d8b8 100644 --- a/backend/Makefile +++ b/backend/Makefile @@ -4,6 +4,8 @@ COMMIT ?= $(shell git rev-parse --short=7 HEAD) ARO_HCP_BASE_IMAGE ?= ${ARO_HCP_IMAGE_ACR}.azurecr.io ARO_HCP_BACKEND_IMAGE ?= $(ARO_HCP_BASE_IMAGE)/arohcpbackend:$(COMMIT) +.DEFAULT_GOAL := backend + backend: go build -o aro-hcp-backend . .PHONY: backend