Skip to content

Commit

Permalink
update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jdidion committed Nov 11, 2016
1 parent f3588cb commit 4501f87
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
build:
python setup.py install && nose2 -C tests --coverage-report term-missing --coverage-config .coveragerc
build = python setup.py install && \
nose2 -C tests --coverage-report term-missing --coverage-config .coveragerc

install:
$(call build,)

release:
# tag
git tag $version
git tag $(version)
# build
python setup.py install
nose2 -C tests --coverage-report term-missing --coverage-config .coveragerc
$(call build,)
python setup.py sdist bdist_wheel
# release
twine register dist/xphyle-${version}.tar.gz
twine upload dist/xphyle-${version}.tar.gz
twine register dist/xphyle-$(version).tar.gz
twine upload dist/xphyle-$(version).tar.gz

readme:
pandoc --from=markdown --to=rst --output=README.rst README.md

0 comments on commit 4501f87

Please sign in to comment.