Skip to content

Commit

Permalink
backend: Explicitly name "backend" as the default make goal
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Matthew Barnes committed Dec 4, 2024
1 parent 3919bab commit 421aafe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 421aafe

Please sign in to comment.