Skip to content

Commit

Permalink
Merge pull request #924 from Azure/default-make-goals
Browse files Browse the repository at this point in the history
Explicitly declare default goals in Makefiles
  • Loading branch information
mbarnes authored Dec 5, 2024
2 parents 28999c9 + 421aafe commit bae57b9
Show file tree
Hide file tree
Showing 2 changed files with 4 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
2 changes: 2 additions & 0 deletions frontend/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_FRONTEND_IMAGE ?= $(ARO_HCP_BASE_IMAGE)/arohcpfrontend:$(COMMIT)

.DEFAULT_GOAL := frontend

frontend:
go build -o aro-hcp-frontend .

Expand Down

0 comments on commit bae57b9

Please sign in to comment.