-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
58 lines (49 loc) · 999 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
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
VENVDIR = venv
report.csv: venv
@( \
. $(VENVDIR)/bin/activate; \
python milestones.py report --output report.csv --prefix "SIT COM SUM" --months 2\
)
blockschedule.pdf: venv
@( \
. $(VENVDIR)/bin/activate; \
python milestones.py blockschedule --start-date -20 \
)
burndown.png: venv
( \
. $(VENVDIR)/bin/activate; \
python milestones.py burndown; \
)
gantt.pdf: venv
( \
. $(VENVDIR)/bin/activate; \
python milestones.py gantt --output=gantt.tex; \
xelatex gantt.tex; \
xelatex gantt.tex; \
xelatex gantt.tex; \
)
venv:
python -m venv $(VENVDIR)
( \
. $(VENVDIR)/bin/activate; \
pip install -r requirements.txt; \
)
milestones.csv: venv
( \
. $(VENVDIR)/bin/activate; \
python milestones.py csv; \
)
celeb: venv
( \
. $(VENVDIR)/bin/activate; \
python milestones.py celeb --inc=Y --months=1 --table; \
)
.PHONY: jira
jira: venv
( \
. $(VENVDIR)/bin/activate; \
python milestones.py jira; \
)
.PHONY: clean
clean:
rm -rf $(VENVDIR)