mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-27 21:38:06 +00:00
Add tap as a separate executable (#10)
* Added tap. * Ignore build directories. * Added tapper build to Makefile.
This commit is contained in:
9
Makefile
9
Makefile
@@ -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 " )
|
||||
|
||||
|
Reference in New Issue
Block a user