forked from amyreese/fissix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
47 lines (35 loc) · 801 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
42
43
44
45
46
47
.venv:
python -m venv .venv
source .venv/bin/activate && make setup
venv: .venv
setup:
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m flit install --symlink
.PHONY: cpython
cpython:
git submodule update --init
git -C cpython checkout -f master
git -C cpython clean -xfd
.PHONY: version
version:
scripts/version.sh
.PHONY: update
update: .venv
scripts/update.sh
.PHONY: html
html: .venv
.venv/bin/sphinx-build -b html docs html
release: lint test clean
flit publish
black:
python -m black fissix tests
python -m isort -rc fissix/__init__.py tests/
lint:
python -m black --check fissix tests
test:
python -m pytest --verbose tests fissix/tests
clean:
rm -rf build dist html *.egg-info .mypy_cache
distclean:
rm -rf .venv