Skip to content

Commit 08b8eac

Browse files
authored
Add make help target (#108)
Closes #101. Signed-off-by: Hiroyuki Tanaka <[email protected]>
1 parent e9217a4 commit 08b8eac

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

DEVELOPER.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build system. Our CI is based on [Github Actions](https://docs.github.com/en/act
1010
* Installation Guide: https://go.dev/doc/install to
1111

1212
### make
13-
* Recommended Version: 4.3
13+
* Recommended Version: 4.3
1414
* Installation Guide: https://www.gnu.org/software/make/).
1515

1616
### docker
@@ -27,5 +27,4 @@ preinstalled tools needed to support all the `make` targets.
2727

2828
## Quick start
2929

30-
[TODO](https://github.com/envoyproxy/gateway/issues/101) Run `make help` to see all the available targets to build, test
31-
and run `envoy-gateway`.
30+
Run `make help` to see all the available targets to build, test and run `envoy-gateway`.

Makefile.targets.mk

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,16 @@ test:
3030

3131
.PHONY: docker-build
3232
docker-build: build-all ## Build the envoy-gateway docker image.
33-
@DOCKER_BUILDKIT=1 docker build -t $(IMAGE):$(TAG) -f Dockerfile bin
33+
@DOCKER_BUILDKIT=1 docker build -t $(IMAGE):$(TAG) -f Dockerfile bin
3434

3535
.PHONY: docker-push
3636
docker-push: ## Push the docker image for envoy-gateway.
3737
@docker push $(IMAGE):$(TAG)
3838

39+
.PHONY: help
40+
help: ## Display this help
41+
@echo Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or Kubernetes-based application gateway
42+
@echo
43+
@echo Targets:
44+
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z0-9._-]+:.*?## / {printf " %-25s %s\n", $$1, $$2}' $(MAKEFILE_LIST) | sort
45+

0 commit comments

Comments
 (0)