Skip to content

Commit

Permalink
Add help target to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
chr12c committed Feb 10, 2025
1 parent 39beea4 commit 707a5ff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions provider-service/stub/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
include ../../common.mk
include ../../docker-targets.mk

.PHONY: help
help: ## Display this help.
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)

IMG := kfp-operator-stub-provider-service

all: build
Expand All @@ -13,9 +17,6 @@ fmt: ## Run go fmt against code.
vet: ## Run go vet against code.
go vet ./...

unit-test:
go test ./... -tags=unit

test: unit-test

##@ Build
Expand Down

0 comments on commit 707a5ff

Please sign in to comment.