-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmakefile
More file actions
81 lines (65 loc) · 1.02 KB
/
Copy pathmakefile
File metadata and controls
81 lines (65 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.POSIX:
.SILENT:
.PHONY: \
all \
audit \
build \
cargo-check \
clean \
clean-cargo \
clean-example \
clippy \
crit \
doc \
install \
itest \
lint \
publish \
rustfmt \
test \
uninstall
.IGNORE: \
clean \
clean-cargo \
clean-example
all: build
audit:
cargo audit
build:
cargo build --release
cargo-check:
cargo check
clean: \
clean-cargo \
clean-example
clean-cargo:
cargo clean
clean-example:
rm -f example/Cargo.lock
rm -rf example/target
rm -rf example/.crit
clippy:
cargo clippy
doc:
cargo doc
install:
cargo install --force --path .
itest: install
sh -c "cd example && tinyrick -l"
sh -c "cd example && tinyrick -v"
sh -c "cd example && tinyrick -h"
sh -c "cd example && tinyrick"
sh -c "cd example && VERBOSE=1 tinyrick test clippy lint build_debug build_release build doc install unit_test integration_test test uninstall clean_cargo clean"
lint: \
cargo-check \
clippy \
doc \
rustfmt
publish:
cargo publish
rustfmt:
cargo fmt
test:
cargo test
uninstall:
cargo uninstall tinyrick