2
0
Fork 0
textout/Makefile

29 lines
412 B
Makefile
Raw Normal View History

2018-01-16 13:34:11 +01:00
#!/usr/bin/make -f
PE := pipenv run
ST := $(PE) ./setup.py
2018-02-11 21:31:39 +01:00
DNAME := dist/$(shell $(ST) --name)-$(shell $(ST) --version).tar.gz
2018-01-16 13:34:11 +01:00
test tests:
2019-06-25 14:49:22 +02:00
@$(PE) pytest -s -q
2018-01-16 13:34:11 +01:00
prepare:
@pipenv install --dev
update:
@pipenv update --dev
docs:
2018-07-30 15:20:25 +02:00
@$(ST) build_sphinx
checkdocs:
@$(ST) checkdocs
2018-02-11 21:31:39 +01:00
dist: $(DNAME)
$(DNAME):
2018-02-11 21:31:39 +01:00
@$(ST) sdist
upload: $(DNAME)
@twine upload $(DNAME)
.PHONY: test tests dist docs
2018-01-16 13:34:11 +01:00
# End of file.