01234567891011121314
|
.PHONY: all build test help
all: help
build: ## Build the project
@go build -C ./src/binclude -o ../../bin/binclude .
@go build -C ./src/cbor -o ../../bin/cbor .
@go build -C ./src/unixtime -o ../../bin/unixtime .
test: ## Run unit tests
@go test ./...
help: ## Display help information
@grep -E '^[a-zA-Z_-]+:.*?##.*$$' $(MAKEFILE_LIST) | \
awk 'BEGIN {FS = ":.*?## *"}; {printf "\033[36m%-6s\033[0m %s\n", $$1, $$2}'
|