blob: 6720eabcb6fc9bfbad0ab3b96116e1af34f3a6f7 [file] [log] [blame]
Joel Galenson2370d122020-10-12 16:02:26 -07001default: build
2hard: test
3
4CRATE = weak_table
5REPO = weak-table-rs
6
7build:
8 clear
9 cargo build
10 make doc
11
12clippy:
13 rustup run nightly cargo build --features=clippy
14
15doc:
16 cargo doc
17 echo "<meta http-equiv='refresh' content='0;url=$(CRATE)/'>" > target/doc/index.html
18
19test:
20 clear
21 cargo test
22
23upload-doc:
24 make doc
25 ghp-import -n target/doc
26 git push -f https://github.com/tov/$(REPO).git gh-pages