-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
65 lines (49 loc) · 1.51 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
all: build
rebuild: fetch update-dl-counts build update-money commit
build:
mkdir -p output
rm -rf output/*
cat javascript/*.js > input/scripts.js
python -u poole.py --build | tee build.log
build-quiet:
rm -rf output/*
test -d output || mkdir -p output
cat javascript/*.js > input/scripts.js
python poole.py --build > build.log
queue:
python scripts/queue.py
debug:
python poole.py --build
commit:
-git add -A
-git commit -q input -m "Source update"
-git push -q
push:
-git push -q
update-money:
python tools/update-money.py > .git/yandex-money.csv
mv .git/yandex-money.csv input/support/donate/yandex/history.csv
-git commit -m "Обновление истории Яндекс.Денег (автомат)" input/support/donate/yandex/history.csv >/dev/null
fetch:
-git pull -q
serve:
python poole.py --serve
update-dl-counts:
python poolemonkey/feeds.py tmradio/tsn tmradio/all tmradio/prokino tmradio/mcast tmradio/podcast tmradio/live sosonews umonkey/podcast umonkey > input/dlstats.csv
update-schedule:
python tools/update-schedule.py
-git commit -m "Обновление расписания эфиров (автомат)" input/schedule.txt input/schedule.ical >/dev/null
clean:
find . -name '*.pyc' -delete
process-hotline: fetch
python poole.py --build
-git add input/hotline
-git commit -q input/hotline -m "New hotline pages."
git push -q
twit-hotline:
for fn in input/hotline/????????/??????; do \
touch $$fn/twit_sent; \
echo $$fn; \
done
fix-duration:
python tools/fix-duration.py