-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
59 lines (51 loc) · 1.82 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
.PHONY: dependencies dist pypi-test pypi test rst edxml
all: dependencies dist pypi test
dependencies:
@echo "Installing dependencies:"
python3 -m pip install --upgrade pip setuptools wheel
pip3 install flake8 pytest
pip3 install 'edxml~=3.0'
dist:
cd generic/python ; $(MAKE) dist .
cd computing/python ; $(MAKE) dist .
cd finance/python ; $(MAKE) dist .
cd forensics/python ; $(MAKE) dist .
cd geography/python ; $(MAKE) dist .
cd networking/python ; $(MAKE) dist .
cd security/python ; $(MAKE) dist .
pypi-test:
cd generic/python ; $(MAKE) pypi-test .
cd computing/python ; $(MAKE) pypi-test .
cd finance/python ; $(MAKE) pypi-test .
cd forensics/python ; $(MAKE) pypi-test .
cd geography/python ; $(MAKE) pypi-test .
cd networking/python ; $(MAKE) pypi-test .
cd security/python ; $(MAKE) pypi-test .
pypi:
cd generic/python ; $(MAKE) pypi .
cd computing/python ; $(MAKE) pypi .
cd finance/python ; $(MAKE) pypi .
cd forensics/python ; $(MAKE) pypi .
cd geography/python ; $(MAKE) pypi .
cd networking/python ; $(MAKE) pypi .
cd security/python ; $(MAKE) pypi .
test:
cd generic/python ; $(MAKE) test .
cd computing/python ; $(MAKE) test .
cd finance/python ; $(MAKE) test .
cd forensics/python ; $(MAKE) test .
cd geography/python ; $(MAKE) test .
cd networking/python ; $(MAKE) test .
cd security/python ; $(MAKE) test .
# Below fails when regenerating the rst documents that describe
# the bricks results in changes in the Git repo. That happens when
# the rst documents are not up to date.
$(MAKE) rst && git diff --exit-code '*.rst'
# Below fails when regenerating the EDXML serializations of the bricks
# results in changes in the Git repo. That happens when
# the EDXML serializations are not up to date.
$(MAKE) edxml && git diff --exit-code '*.edxml'
rst:
python3 dump_rst.py
edxml:
python3 dump_edxml.py