Files
asciinema/Makefile

30 lines
597 B
Makefile
Raw Normal View History

NAME=asciinema
2016-07-05 17:12:15 +02:00
VERSION=`python3 -c "import asciinema; print(asciinema.__version__)"`
2016-07-11 20:21:10 +02:00
test: test-unit test-integration
test-unit:
nosetests
2014-08-03 16:22:54 +02:00
test-integration:
tests/integration.sh
2014-08-03 16:28:09 +02:00
release: test tag push
2014-08-09 21:51:17 +02:00
release-test: test push-test
2014-11-13 19:39:51 +01:00
tag:
git tag | grep "v$(VERSION)" && echo "Tag v$(VERSION) exists" && exit 1 || true
git tag -s -m "Releasing $(VERSION)" v$(VERSION)
git push --tags
push:
2016-07-05 17:12:15 +02:00
python3 setup.py sdist upload -r pypi
2014-11-13 19:39:51 +01:00
push-test:
2016-07-13 10:51:43 +02:00
python3 setup.py sdist upload -r pypitest
release: test tag push
.PHONY: test test-unit test-integration release release-test tag push push-test