Add tap as a separate executable (#10)

* Added tap.

* Ignore build directories.

* Added tapper build to Makefile.
This commit is contained in:
nimrod-up9
2021-04-28 14:21:39 +03:00
committed by GitHub
parent 1073c59611
commit 7d8655feab
15 changed files with 2175 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ SHELL=/bin/bash
# HELP
# This will output the help for each task
# thanks to https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
.PHONY: help ui api cli docker
.PHONY: help ui api cli tap docker
help: ## This help.
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
@@ -30,6 +30,10 @@ api: ## build API server
@(cd api; go build -o build/apiserver main.go)
@ls -l api/build
tap: ## build tap binary
@(cd tap; go build -o build/tap ./src)
@ls -l tap/build
docker: ## build Docker image
@(echo "building docker image" )
@@ -49,6 +53,9 @@ clean-api:
clean-cli:
@(echo "CLI cleanup - NOT IMPLEMENTED YET " )
clean-tap:
@(cd tap; rm -rf build ; echo "tap cleanup done")
clean-docker:
@(echo "DOCKER cleanup - NOT IMPLEMENTED YET " )