forked from allegro/ralph
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (23 loc) · 1.06 KB
/
Makefile
File metadata and controls
31 lines (23 loc) · 1.06 KB
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
28
29
30
31
quicktest:
DJANGO_SETTINGS_PROFILE=test-ralph ralph test ralph
flake:
flake8 --exclude=migrations,tests,doc,www,settings.py --ignore=E501 src/ralph
runserver:
ralph runserver
collectstatic:
ralph collectstatic --noinput
install:
pip install -e . --use-mirrors --allow-all-external --allow-unverified ipaddr --allow-unverified postmarkup --allow-unverified pysphere
test-unittests:
DJANGO_SETTINGS_PROFILE=test-ralph coverage run --source=ralph --omit='*migrations*,*tests*,*__init__*,*wsgi.py,*__main__*,*settings*,*manage.py,src/ralph/util/demo/*' '$(VIRTUAL_ENV)/bin/ralph' test ralph
test-doc:
# ignore warnings about missing subdirs - cloned from another repositories
mkdir ./doc/optional_modules/assets/ 2>/dev/null; exit 0
mkdir ./doc/optional_modules/pricing/ 2>/dev/null; exit 0
mkdir -p www/_build/html/ 2>/dev/null
echo "test\n=====" > ./doc/optional_modules/assets/index.rst
echo "test\n=====" > ./doc/optional_modules/pricing/index.rst
cd ./doc && make html
test-with-coveralls: test-doc test-unittests
check-templates:
django-template-i18n-lint .