1default: 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
27