Browse Source

updated Makefile

pull/18/merge
Rossen Georgiev 9 years ago
parent
commit
c0e35dd2f6
  1. 19
      Makefile

19
Makefile

@ -2,10 +2,21 @@ define HELPBODY
Available commands:
make help - this thing.
make init - install python dependancies
make test - run tests and coverage
make pylint - code analysis
make build - pylint + test
make docs - generate html docs using sphinx
make dist - build source distribution
mage register - register in pypi
make upload - upload to pypi
make pb_fetch - fetch protobufs from SteamRE
make pb_compile - compile with protoc
make pb_clear - removes *.proto
make pb_update - pb_fetch + pb_compile
endef
@ -23,7 +34,11 @@ test:
pylint:
pylint -r n -f colorized steam || true
build: pylint test
build: pylint test docs
.FORCE:
docs: .FORCE
$(MAKE) -C docs html
clean:
rm -rf dist steam.egg-info steam/*.pyc
@ -48,4 +63,4 @@ pb_compile:
pb_clear:
rm -f ./stema/protobufs/*.proto
pb_update: pb_fetch pb_compile pb_clear
pb_update: pb_fetch pb_compile

Loading…
Cancel
Save