-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathMakefile
41 lines (33 loc) · 807 Bytes
/
Makefile
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
31
32
33
34
35
36
37
38
39
40
41
.PHONY: install
install: build
python -m pip install --upgrade -e .
.PHONY: build
build:
coconut setup.coco --line-numbers
coconut pyprover-source pyprover --jobs sys --line-numbers
.PHONY: package
package:
python setup.py sdist bdist_wheel
.PHONY: upload
upload: clean install package
pip3 install --upgrade twine
twine upload dist/*
.PHONY: setup
setup:
python -m pip install --upgrade setuptools wheel pip
python -m pip install --upgrade "coconut-develop[watch]"
.PHONY: test
test: install
python pyprover/tests.py
.PHONY: clean
clean:
rm -rf ./dist ./build
-find . -name "*.pyc" -delete
-find . -name "__pycache__" -delete
.PHONY: wipe
wipe: clean
-find . -name "*.py" -delete
rm -rf ./pyprover
.PHONY: watch
watch: install
coconut pyprover-source pyprover --watch --line-numbers