This repository has been archived by the owner on Dec 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
149 lines (140 loc) · 4.39 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
all: git_config pull total
git_config:
git config --global user.email "ontouchstart@gmail.com"
git config --global user.name "Sam Liu"
pull:
git checkout master
git pull
collect:
node bin/collect.js 72363
node bin/collect.js 128445
node bin/collect.js 142275
node bin/collect.js 147066
node bin/collect.js 155681
node bin/collect.js 157594
node bin/collect.js 175314
node bin/collect.js 176328
node bin/collect.js 183643
node bin/collect.js 187897
node bin/collect.js 196102
node bin/collect.js 197462
node bin/collect.js 204946
node bin/collect.js 229749
node bin/collect.js 234023
node bin/collect.js 236304
node bin/collect.js 241951
node bin/collect.js 299365
node bin/collect.js 301632
node bin/collect.js 302045
node bin/collect.js 327007
node bin/collect.js 330129
node bin/collect.js 438046
node bin/collect.js 439808
node bin/collect.js 452045
node bin/collect.js 452667
node bin/collect.js 464836
node bin/collect.js 479503
node bin/collect.js 481356
node bin/collect.js 484248
node bin/collect.js 513442
node bin/collect.js 516025
node bin/collect.js 519388
node bin/collect.js 523430
node bin/collect.js 523602
git add data/collected_html
git commit -m 'collect html by Makefile' | true
git push -u https://ontouchstart:${GITHUB_TOKEN}@github.com/mocaspike150/leaderboard master
latest: collect
node bin/latest.js 72363
node bin/latest.js 128445
node bin/latest.js 142275
node bin/latest.js 147066
node bin/latest.js 155681
node bin/latest.js 157594
node bin/latest.js 175314
node bin/latest.js 176328
node bin/latest.js 183643
node bin/latest.js 187897
node bin/latest.js 196102
node bin/latest.js 197462
node bin/latest.js 204946
node bin/latest.js 229749
node bin/latest.js 234023
node bin/latest.js 236304
node bin/latest.js 241951
node bin/latest.js 299365
node bin/latest.js 301632
node bin/latest.js 302045
node bin/latest.js 327007
node bin/latest.js 330129
node bin/latest.js 438046
node bin/latest.js 439808
node bin/latest.js 452045
node bin/latest.js 452667
node bin/latest.js 464836
node bin/latest.js 479503
node bin/latest.js 481356
node bin/latest.js 484248
node bin/latest.js 513442
node bin/latest.js 516025
node bin/latest.js 519388
node bin/latest.js 523430
node bin/latest.js 523602
curl https://raw.githubusercontent.com/mocaspike150/lab/master/docs/leaderboard/128445.html > data/html/128445.html
curl https://raw.githubusercontent.com/mocaspike150/lab/master/docs/leaderboard/204946.html > data/html/204946.html
curl https://raw.githubusercontent.com/mocaspike150/lab/master/docs/leaderboard/72363.html > data/html/72363.html
curl https://raw.githubusercontent.com/mocaspike150/lab/master/docs/leaderboard/241951.html > data/html/241951.html
git add data/html
git commit -m 'update latest html by Makefile' | true
git push -u https://ontouchstart:${GITHUB_TOKEN}@github.com/mocaspike150/leaderboard master
convert: latest
node bin/convert.js 72363
node bin/convert.js 128445
node bin/convert.js 142275
node bin/convert.js 147066
node bin/convert.js 155681
node bin/convert.js 157594
node bin/convert.js 175314
node bin/convert.js 176328
node bin/convert.js 183643
node bin/convert.js 187897
node bin/convert.js 196102
node bin/convert.js 197462
node bin/convert.js 204946
node bin/convert.js 229749
node bin/convert.js 234023
node bin/convert.js 236304
node bin/convert.js 241951
node bin/convert.js 299365
node bin/convert.js 301632
node bin/convert.js 302045
node bin/convert.js 327007
node bin/convert.js 330129
node bin/convert.js 438046
node bin/convert.js 439808
node bin/convert.js 452045
node bin/convert.js 452667
node bin/convert.js 464836
node bin/convert.js 479503
node bin/convert.js 481356
node bin/convert.js 484248
node bin/convert.js 513442
node bin/convert.js 516025
node bin/convert.js 519388
node bin/convert.js 523430
node bin/convert.js 523602
git add data/json
git commit -m 'update json by Makefile' | true
git push -u https://ontouchstart:${GITHUB_TOKEN}@github.com/mocaspike150/leaderboard master
total: convert
node bin/total.js
date > data/update_time.txt
node bin/current_miles.js > data/current_miles.txt
node bin/club_total.js > data/club_total.csv
node bin/club_mpr.js > data/club_mpr.csv
git add data/leaderboard.json
git add data/update_time.txt
git add data/current_miles.txt
git add data/club_total.csv
git add data/club_mpr.csv
git commit -m 'update total by Makefile' | true