summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d831ecf..20b1560 100644
--- a/Makefile
+++ b/Makefile
@@ -7,9 +7,13 @@
MAKEPATH:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
NAME:=gfold
-cargo-tree:
+run:
+ @cd $(MAKEPATH); cargo fmt
+ @cd $(MAKEPATH); cargo run -- -p ..
+
+tree:
cd $(MAKEPATH); cargo tree
-build-static:
+static:
docker pull clux/muslrust
cd $(MAKEPATH); docker run -v $(MAKEPATH):/volume --rm -t clux/muslrust cargo build