forked from zhangjing1/finishline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.brew
35 lines (30 loc) · 962 Bytes
/
Makefile.brew
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
install:
test -d ./node_modules/md2gslides/bin/ || npm install md2gslides
test -d venv || virtualenv venv
venv/bin/pip install -Ur requirements.txt
buildstatus: install
venv/bin/python finishline \
--scenario statusslides \
--config brew.conf > foo.md
uploadstatus: buildstatus
./node_modules/md2gslides/bin/md2gslides.js foo.md \
-t "Brew, FY19Q2 Status" \
-e -a 1IJd4xzl3209LePjiI3vtoplt7lMXz5SkCdWUmq8okLU
okrs: install
venv/bin/python finishline \
--scenario okrs \
--config brew.conf > okrs.csv
echo " -- done -- "
cat okrs.csv
xclip -i okrs.csv -selection clipboard
confluence: install
venv/bin/python finishline \
--scenario confluence \
--config brew.conf > confluence.something
echo " -- done -- "
cat confluence.something
xclip -i confluence.something -selection clipboard
buildemail: install
venv/bin/python finishline \
--scenario email \
--config brew.conf > report-$(shell LC_ALL='en_US.UTF-8' date '+%F').md