diff --git a/Makefile b/Makefile index 3378f37..470215d 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ MAKEFLAGS += --no-print-directory DEV_BIN_DIR := .cargo/bin CYAN := \033[36m RESET := \033[0m -export PATH := $(DEV_BIN_DIR):$(PATH) +PATH := $(DEV_BIN_DIR):$(PATH) .PHONY: help build build.docs fix fmt lint setup test @@ -20,10 +20,10 @@ build.docs: ## build the documentation @cargo doc --no-deps --all-features check: ## check that all files match formatting rules - @.cargo/bin/dprint check + @PATH=$(PATH) dprint check commit: ## make conventional commit - @.cargo/bin/convco commit + @PATH=$(PATH) convco commit docs: ## build & open the documentation in the browser @cargo doc --no-deps --open --all-features @@ -32,7 +32,7 @@ fix: ## apply lint suggestions @cargo clippy --all-targets --all-features --workspace --fix fmt: ## format all files - @.cargo/bin/dprint fmt + @PATH=$(PATH) dprint fmt lint: ## lint code @cargo clippy --all-targets --all-features --workspace