aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: be3a8169c7521bde6fc2f3396d5d535536928ee0 (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
29
30
#!/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

check:
	@$(PE) flake8
checkdocs:
	@$(ST) checkdocs

dist: $(DNAME)
$(DNAME):
	@$(ST) sdist

upload: $(DNAME)
	@twine upload $(DNAME)

.PHONY: test tests dist docs
# End of file.