forked from ierror/django-js-reverse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (24 loc) · 679 Bytes
/
Makefile
File metadata and controls
27 lines (24 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
export DJANGO_SETTINGS_MODULE = tests.settings
export PYTHONPATH := $(shell pwd)
test:
@pip install -r tests/requirements.txt
@flake8 --ignore=W801,E128,E501,W402 django_js_reverse --exclude=django_js_reverse/rjsmin.py
@coverage erase
@tox
@coverage combine
@coverage report
@coverage erase
release:
@git checkout production
@git merge develop -m "bump v$(VERSION)"
@git push origin production
@git tag v$(VERSION)
@git push origin v$(VERSION)
@pip install wheel
@python setup.py sdist bdist_wheel upload --sign
@git checkout develop
optimizing_imports:
@pip install -r tests/requirements.txt
@isort -rc *.py
@isort -rc tests/
@isort -rc django_js_reverse/