Mahmoud Al-Qudsi 1 year ago
parent
commit
1020a23c0e
1 changed files with 34 additions and 0 deletions
  1. 34
    0
      Makefile

+ 34
- 0
Makefile View File

@@ -0,0 +1,34 @@
1
+CARGO = cargo
2
+
3
+.PHONY: all bench build check clean doc install publish run test update
4
+
5
+all: build
6
+
7
+bench:
8
+	@$(CARGO) bench
9
+
10
+build:
11
+	@env TERM=xterm-256color $(CARGO) build --color=always 2>&1
12
+
13
+check: build test
14
+
15
+clean:
16
+	@$(CARGO) clean
17
+
18
+doc:
19
+	@$(CARGO) doc
20
+
21
+install:
22
+	@$(CARGO) install
23
+
24
+publish:
25
+	@$(CARGO) publish
26
+
27
+run: build
28
+	@$(CARGO) run
29
+
30
+test:
31
+	@$(CARGO) test
32
+
33
+update:
34
+	@$(CARGO) update

Loading…
Cancel
Save