Import weak-table-0.3.0
Test: None
Change-Id: Idcf231392e451e1de74377dce6804c91fd8ac868
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..6720eab
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,26 @@
+default: build
+hard: test
+
+CRATE = weak_table
+REPO = weak-table-rs
+
+build:
+ clear
+ cargo build
+ make doc
+
+clippy:
+ rustup run nightly cargo build --features=clippy
+
+doc:
+ cargo doc
+ echo "<meta http-equiv='refresh' content='0;url=$(CRATE)/'>" > target/doc/index.html
+
+test:
+ clear
+ cargo test
+
+upload-doc:
+ make doc
+ ghp-import -n target/doc
+ git push -f https://github.com/tov/$(REPO).git gh-pages