Skip to content

Commit

Permalink
meta: add help message for make file
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed Jul 29, 2023
1 parent 9ca39d1 commit 82e21b0
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,24 @@ doc-deps:
fmt:
$(CC) fmt --all

check:
check: ## Runs unit testing
$(CC) test $(ARGS)

example:
@echo "No example for the moment"

clean:
clean: ## Clean up everythings
$(CC) clean

book:
book: ## Build the release version of documentation
cd docs/docs-book; mdbook build

dev-book:
dev-book: ## Build the docs in dev mode
cd docs/docs-book; mdbook serve --open

install:
install: ## Install coffee inside the local machine
$(CC) install --locked --path ./coffee_cmd

integration: default
integration: default ## Runs integration testing
$(CC) test -j 4 -p tests $(ARGS)

help: ## Show Help
@grep --no-filename -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
awk 'BEGIN {FS = ":.*?## "}; {printf "\033[32m%-15s\033[0m %s\n", $$1, $$2}'

0 comments on commit 82e21b0

Please sign in to comment.