forked from diff-match-patch-python/diff-match-patch
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmakefile
More file actions
27 lines (20 loc) · 637 Bytes
/
makefile
File metadata and controls
27 lines (20 loc) · 637 Bytes
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
venv:
python3 -m venv .venv
@echo 'run `source .venv/bin/activate` to use virtualenv'
setup: venv
source .venv/bin/activate && pip3 install -U black isort mypy pylint twine
dev: setup
source .venv/bin/activate && python3 setup.py develop
@echo 'run `source .venv/bin/activate` to develop diff-match-patch'
release: lint test clean
python3 setup.py sdist
python3 -m twine upload dist/*
lint:
-python -m black --check diff_match_patch setup.py
-python -m mypy --ignore-missing-imports .
test:
python -m unittest -v diff_match_patch.tests
clean:
rm -rf build dist README MANIFEST *.egg-info
distclean: clean
rm -rf .venv