syndicate-py/Makefile

31 lines
634 B
Makefile
Raw Normal View History

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
2023-02-10 15:46:46 +00:00
tag:
git tag v`python3 setup.py --version`
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
2023-02-08 18:39:30 +00:00
PROTOCOLS_BRANCH=main
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 \
2023-02-08 18:39:30 +00:00
$(PROTOCOLS_BRANCH)
2023-02-04 15:27:31 +00:00
chat.bin: chat.prs
preserves-schemac .:chat.prs > $@