-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (19 loc) · 768 Bytes
/
Copy pathMakefile
File metadata and controls
24 lines (19 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.PHONY: help
help: ## Print help
@grep -E '^[a-z.A-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY: lint
lint: ## Run lint
cargo clippy -- -D warnings
.PHONY: test
test: ## Run test suites
cargo test --all-features --all-targets -p hakoniwa -- --nocapture
cargo test --all-features --all-targets -p hakoniwa-cli -- --nocapture
.PHONY: denycheck
denycheck: ## Run deny check
cargo deny --all-features --log-level error check
.PHONY: hackcheck
hackcheck: ## Run hack check
cargo hack check --feature-powerset --no-dev-deps
.PHONY: build_completions
build_completions: ## Generate SHELL autocompletions files
./scripts/make-build-completions.sh