2
0
Fork 0
textout/Makefile

23 lines
359 B
Makefile
Executable File

#!/usr/bin/make -f
ST := pipenv run ./setup.py
DNAME := dist/$(shell $(ST) --name)-$(shell $(ST) --version).tar.gz
test tests: -prepare
@$(ST) test
docs: -prepare
@$(ST) build_sphinx
dist: $(DNAME)
$(DNAME): -prepare
@$(ST) sdist
upload: $(DNAME)
@twine upload $(DNAME)
-prepare:
@pipenv sync
.PHONY: -prepare test tests dist docs
# End of file.