forked from devosoft/Empirical
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
62 lines (45 loc) · 1.57 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.PHONY: test test-examples test-native test-native-regular test-native-fulldebug test-native-examples test-web test-web-examples \
test-cookiecutter doc coverage install-dependencies install-doc-dependencies install-coverage-dependencies install-test-dependencies \
clean clean-dep
test: test-native test-examples test-web
make test-native
make test-examples
make test-web
test-examples: test-native-examples test-web-examples
test-native: test-native-regular test-native-fulldebug test-native-opt test-native-examples
test-native-regular:
cd tests && make test
test-native-fulldebug:
cd tests && make fulldebug
test-native-opt:
cd tests && make opt
test-native-examples:
cd examples && make native-test
cd examples && make native-test-debug
test-web-examples:
cd examples && make web-test
test-web:
cd tests && make test-web
../cookiecutter-empirical-project:
cd .. && git clone --recursive https://github.com/devosoft/cookiecutter-empirical-project.git
test-cookiecutter: ../cookiecutter-empirical-project
. third-party/env/bin/activate && \
export COOKIECUTTER_EMP_DIR=../../Empirical/include && \
cd ../cookiecutter-empirical-project && make clean && make test
doc:
cd doc && make html coverage
coverage:
cd tests && make coverage
install-dependencies:
git submodule init
git submodule update
cd third-party && make
install-test-dependencies:
cd third-party && make install-test-dependencies
install-coverage-dependencies:
cd third-party && make install-coverage-dependencies
clean:
rm -rf build/*
cd tests && make clean
clean-dep:
cd third-party && make clean