forked from nsi-iff/fluidity
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (21 loc) · 768 Bytes
/
Makefile
File metadata and controls
32 lines (21 loc) · 768 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
28
29
30
31
all: deps test
deps:
specloud:
@python -c 'import specloud' 2>/dev/null || pip install --no-deps specloud -r http://github.com/hugobr/specloud/raw/master/requirements.txt
should-dsl:
@python -c 'import should_dsl' 2>/dev/null || pip install http://github.com/hugobr/should-dsl/tarball/master
coverage_py:
@python -c 'import coverage' 2>/dev/null || pip install coverage
test_deps: specloud should-dsl
coverage: test_deps coverage_py
@nosetests spec/*.py -s --with-coverage --cover-erase --cover-inclusive --cover-package=fluidity
tox:
@hash tox 2>/dev/null || pip install tox
compatible: test_deps tox
@tox
test: test_deps unit
unit:
@echo =======================================
@echo ========= Running unit specs ==========
@specloud spec
@echo