-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathMakefile
More file actions
84 lines (60 loc) · 1.55 KB
/
Makefile
File metadata and controls
84 lines (60 loc) · 1.55 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
82
83
84
lint:
typos
cargo clippy --features=full --all-targets --all -- --deny=warnings
fmt:
cargo fmt --all
build-web:
rm -rf dist \
&& cd web \
&& npm install && npm run build \
&& cp -rf dist ../
bench-all:
cargo bench -p pingap-core
cargo bench -p pingap-logger
cargo bench -p pingap-location
bench:
cargo bench
dev:
bacon run -- --features=full -- -c="~/tmp/pingap?separation=true&enable_history=true" --admin=pingap:123123@127.0.0.1:3018 --autoreload
devetcd:
bacon run -- -- -c="etcd://127.0.0.1:2379/pingap?timeout=10s&connect_timeout=5s&enable_history=true" --admin=127.0.0.1:3018 --autoreload
mermaid:
cargo run --bin generate-mermaid
udeps:
cargo +nightly udeps
msrv:
cargo msrv list
bloat:
cargo bloat --release --crates --bin pingap
outdated:
cargo outdated
unused-features:
unused-features analyze
test:
cargo test --workspace --features=full
cov:
cargo llvm-cov --workspace --html --open
release:
cargo build --release
ls -lh target/release
release-full:
cargo build --release --features=full
ls -lh target/release
release-all:
cargo build --release --features=full
mv target/release/pingap target/release/pingap-full
cargo build --release
ls -lh target/release
release-perf:
cargo build --profile=release-perf --features=perf
ls -lh target/release-perf
release-pyro:
cargo build --profile=release-perf --features=pyro
ls -lh target/release-perf
publish:
make build-web
cargo publish --registry crates-io --no-verify
hooks:
cp hooks/* .git/hooks/
version:
git cliff --unreleased --tag v0.13.2 --prepend CHANGELOG.md