forked from allegro/ralph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (19 loc) · 953 Bytes
/
Makefile
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
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
install:
pip install -e . --use-mirrors --allow-all-external --allow-unverified ipaddr --allow-unverified postmarkup --allow-unverified python-graph-core --allow-unverified pysphere
test-unittests:
DJANGO_SETTINGS_PROFILE=test-ralph coverage run --source=ralph --omit='*migrations*,*tests*' '$(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