2013-02-18 16:09:40 -05:00
|
|
|
SHELL := /bin/bash
|
|
|
|
|
|
|
|
init:
|
2013-05-03 19:33:13 -04:00
|
|
|
@python setup.py develop
|
|
|
|
@pip install -r requirements.txt
|
2013-02-18 16:09:40 -05:00
|
|
|
|
2017-03-12 20:18:49 -04:00
|
|
|
lint:
|
|
|
|
flake8 moto
|
|
|
|
|
2017-03-12 20:37:23 -04:00
|
|
|
test: lint
|
2013-03-15 11:21:03 -04:00
|
|
|
rm -f .coverage
|
2016-03-31 13:33:13 -07:00
|
|
|
rm -rf cover
|
|
|
|
@nosetests -sv --with-coverage --cover-html ./tests/
|
2013-06-27 09:35:46 -04:00
|
|
|
|
2017-02-23 19:43:48 -05:00
|
|
|
test_server:
|
|
|
|
@TEST_SERVER_MODE=true nosetests -sv --with-coverage --cover-html ./tests/
|
|
|
|
|
2015-02-22 10:58:51 -05:00
|
|
|
publish:
|
|
|
|
python setup.py sdist bdist_wheel upload
|
2017-09-07 12:07:08 -07:00
|
|
|
git tag `python setup.py --version`
|
|
|
|
git push origin `python setup.py --version`
|
2017-09-22 19:23:10 +09:00
|
|
|
|
|
|
|
scaffold:
|
|
|
|
@pip install -r requirements-dev.txt > /dev/null
|
|
|
|
@python scripts/scaffold.py
|