-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
build: ## Install or update dependencies and builds the project | ||
cargo build | ||
|
||
test: ## Run the tests | ||
cargo test | ||
|
||
lint: ## Checks the formatting | ||
cargo fmt --all -- --check | ||
|
||
clippy: ## Checks for code style improvements | ||
cargo clippy -- -D warnings | ||
|
||
clean: ## Remove the target directory | ||
cargo clean | ||
|
||
check: test lint clippy ## Runs all the tests and checks | ||
|
||
help: | ||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | ||
|
||
.PHONY: build test lint clippy clean check help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters