Updated Makefile .PHONY targets
This commit is contained in:
parent
fd0577b193
commit
4e25136156
4
Makefile
4
Makefile
|
@ -4,6 +4,7 @@ SHELL := /bin/bash
|
|||
.PHONY: clean build publish test test-tox test-docker
|
||||
|
||||
# Package
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@rm -rf build/ dist/ *.egg-info/ README.md README.rst
|
||||
@pip install -e . # have to reinstall because we are using self
|
||||
|
@ -12,6 +13,8 @@ README.md: $(shell find misc/ j2cli/)
|
|||
README.rst: README.md
|
||||
@pandoc -f markdown -t rst -o README.rst README.md
|
||||
|
||||
|
||||
.PHONY: build publish-test publish
|
||||
build: README.rst
|
||||
@./setup.py build sdist bdist_wheel
|
||||
publish-test: README.rst
|
||||
|
@ -20,6 +23,7 @@ publish: README.rst
|
|||
@twine upload dist/*
|
||||
|
||||
|
||||
.PHONY: test test-tox test-docker test-docker-2.6
|
||||
test:
|
||||
@nosetests
|
||||
test-tox:
|
||||
|
|
Loading…
Reference in New Issue