29 lines
412 B
Makefile
Executable File
29 lines
412 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
PE := pipenv run
|
|
ST := $(PE) ./setup.py
|
|
DNAME := dist/$(shell $(ST) --name)-$(shell $(ST) --version).tar.gz
|
|
|
|
test tests:
|
|
@$(PE) pytest -s -q
|
|
|
|
prepare:
|
|
@pipenv install --dev
|
|
update:
|
|
@pipenv update --dev
|
|
|
|
docs:
|
|
@$(ST) build_sphinx
|
|
|
|
checkdocs:
|
|
@$(ST) checkdocs
|
|
|
|
dist: $(DNAME)
|
|
$(DNAME):
|
|
@$(ST) sdist
|
|
|
|
upload: $(DNAME)
|
|
@twine upload $(DNAME)
|
|
|
|
.PHONY: test tests dist docs
|
|
# End of file.
|