moto/Makefile
Jack Danger b161835198 Create git tag on release (#1085)
I'm pretty forgetful so I doubt I'd remember to do this
2017-08-25 23:44:03 -07:00

22 lines
430 B
Makefile

SHELL := /bin/bash
init:
@python setup.py develop
@pip install -r requirements.txt
lint:
flake8 moto
test: lint
rm -f .coverage
rm -rf cover
@nosetests -sv --with-coverage --cover-html ./tests/
test_server:
@TEST_SERVER_MODE=true nosetests -sv --with-coverage --cover-html ./tests/
publish:
python setup.py sdist bdist_wheel upload
git tag $(python setup.py version)
git push push origin $(python setup.py version)