-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
81 lines (63 loc) · 1.44 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
PHONIES = first help all prep git flake8 test tox scripts copylib libs html htmlmain htmllibs x xx xxx
DEV = tosixinch/tests/dev
first: help
.PHONY: $(PHONIES)
help:
@echo Tosixinch make file:
@echo
@echo do \'all\', or \'git flake8 test tox html\'
@echo and \'run\' \(_test_actualrun.py\)
@echo
@echo 'all'
@echo ' prep'
@echo ' git'
@echo ' scripts'
@echo ' copylib'
@echo ' libs'
@echo ' flake8'
@echo ' test'
@echo ' tox'
@echo ' html'
@echo ' htmlmain'
@echo ' htmllibs'
@echo 'x'
@echo 'xx'
@echo 'xxx'
all: prep html
@echo 'Success All!'
prep: git flake8 test tox
@echo 'Success!'
# vim -c ':r !flake8 .'
flake8:
flake8 .
test:
python -m doctest tosixinch/process/*.py
pytest -x
python tosixinch/tests/_test_actualrun.py -x
tox:
PYTHONPATH= tox
git: scripts copylib
git update-index --refresh
git diff-index HEAD --
scripts:
$(DEV)/argparse2rst.py
$(DEV)/argparse2bash_tosixinch.py
$(DEV)/fini2ini.py
copylib: libs
-copylib.py configfetch.py
-copylib.py zconfigparser.py
libs:
$(MAKE) -C ../configfetch prep
$(MAKE) -C ../zconfigparser prep
html: htmlmain htmllibs
htmlmain:
$(MAKE) -C docs html
htmllibs:
$(MAKE) -C ../configfetch html
$(MAKE) -C ../zconfigparser html
x:
python tosixinch/tests/_test_actualrun.py -x
xx:
python tosixinch/tests/_test_actualrun.py -xx
xxx:
python tosixinch/tests/_test_actualrun.py -xxx