Skip to content

Commit

Permalink
cargo.mk:cargo-i:cargo-c:cargo-br
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyMcMillan committed Apr 2, 2024
1 parent d23e029 commit abe35b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cargo.mk
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
cargo-help:###
@awk 'BEGIN {FS = ":.*?###"} /^[a-zA-Z_-]+:.*?###/ {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
cargo-b:cargo-build
cargo-build:### cargo-build
@. $(HOME)/.cargo/env
@cargo b
cargo-i:cargo-install
cargo-install:### cargo-install
@. $(HOME)/.cargo/env
@cargo install --path $(PWD)
@echo "export PATH=$(CARGO_PATH)/bin:$(PATH)"
cargo-br:cargo-build-release
cargo-build-release:### cargo-build-release
@. $(HOME)/.cargo/env
@cargo b --release
cargo-c:cargo-check
cargo-check:### cargo-check
@. $(HOME)/.cargo/env
@cargo c
Expand Down

0 comments on commit abe35b0

Please sign in to comment.