Skip to content

Commit

Permalink
add make publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg committed Sep 20, 2015
1 parent b32a86d commit b9f26de
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
help:
@echo "test run tests"
@echo "doc build document"
@echo "publish publish"

test:
cargo test

doc:
cargo doc -p pinyin --no-deps

.PHONY: help test doc
publish:
git checkout master && make test && make doc && git checkout master &&\
cargo publish


.PHONY: help test doc publish

0 comments on commit b9f26de

Please sign in to comment.