diff --git a/Makefile b/Makefile index 123815c8..a98da11e 100644 --- a/Makefile +++ b/Makefile @@ -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}'