2
0
Fork 0
textout/Makefile

23 lines
359 B
Makefile
Raw Normal View History

2018-01-16 13:34:11 +01:00
#!/usr/bin/make -f
2018-07-30 15:12:54 +02:00
ST := pipenv run ./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: -prepare
2018-02-11 21:31:39 +01:00
@$(ST) test
2018-01-16 13:34:11 +01:00
docs: -prepare
2018-07-30 15:20:25 +02:00
@$(ST) build_sphinx
2018-02-11 21:31:39 +01:00
dist: $(DNAME)
$(DNAME): -prepare
2018-02-11 21:31:39 +01:00
@$(ST) sdist
upload: $(DNAME)
@twine upload $(DNAME)
-prepare:
@pipenv sync
.PHONY: -prepare test tests dist docs
2018-01-16 13:34:11 +01:00
# End of file.