Skip to content

Commit 81124cf

Browse files
OttoAllmendingerllm-git
andcommitted
feat(wasm-utxo): add lint command to Makefile
Add lint target that runs cargo fmt and clippy checks Issue: BTC-2652 Co-authored-by: llm-git <[email protected]>
1 parent 5d9d325 commit 81124cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/wasm-utxo/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,9 @@ dist/node/js/wasm/:
4343

4444
.PHONY: dist/browser/js/wasm/
4545
dist/browser/js/wasm/:
46-
$(call BUILD,$@,browser)
46+
$(call BUILD,$@,browser)
47+
48+
.PHONY: lint
49+
lint:
50+
cargo fmt --check
51+
cargo clippy --all-targets --all-features -- -D warnings

0 commit comments

Comments
 (0)