Added pre-commit and pre-push hooks with the help of cargo-husky. This also means that I need to temporarily allow specific bits of dead code until I implement support for at least one more Servarr

This commit is contained in:
2023-08-08 10:50:05 -06:00
parent 74502f5462
commit d5117fda39
8 changed files with 59 additions and 4 deletions
+3 -2
View File
@@ -3,6 +3,7 @@
default: run
.PHONY: test test-cov build run lint lint-fix fmt analyze sonar release delete-tag
test:
@cargo test
@@ -10,8 +11,8 @@ test:
test-cov:
@cargo tarpaulin
build:
@make test && cargo build --release
build: test
@cargo build --release
run:
@CARGO_INCREMENTAL=1 cargo fmt && make lint && cargo run