aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index d92c5fa..1250725 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,11 @@
-build: tidy format
- go build
-run: tidy format
- go run .
+build: test format
+ cargo build --workspace
-format:
- gofmt -s -w .
+doc: test format
+ cargo doc --workspace --open
+
+test: format
+ cargo test --workspace
-tidy:
- go mod tidy
+format:
+ cargo fmt --all