2019-06-23 12:15:36 +00:00
|
|
|
all:
|
2018-11-20 19:45:27 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf htmlcov
|
|
|
|
find . -iname __pycache__ -o -iname '*.pyc' | xargs rm -rf
|
|
|
|
rm -f .coverage
|
2019-06-23 12:15:36 +00:00
|
|
|
rm -rf *.egg-info build dist
|
2018-11-20 19:45:27 +00:00
|
|
|
|
|
|
|
# sudo apt install python3-wheel twine
|
2019-06-23 12:15:36 +00:00
|
|
|
publish: build
|
2018-11-20 19:45:27 +00:00
|
|
|
twine upload dist/*
|
|
|
|
|
2019-06-23 12:15:36 +00:00
|
|
|
build: clean
|
|
|
|
python3 setup.py sdist bdist_wheel
|
|
|
|
|
2018-11-20 19:45:27 +00:00
|
|
|
veryclean: clean
|
|
|
|
rm -rf pyenv
|
2021-11-30 17:45:49 +00:00
|
|
|
|
|
|
|
pull-protocols:
|
|
|
|
git subtree pull -P syndicate/protocols \
|
|
|
|
-m 'Merge latest changes from the syndicate-protocols repository' \
|
|
|
|
git@git.syndicate-lang.org:syndicate-lang/syndicate-protocols \
|
|
|
|
main
|