blob: 3d840bc5db5d67c68963fc4dedc3431e37f304d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/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.
|