-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
93 lines (93 loc) · 1.26 KB
/
config.json
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
{
"define":[
"native", "mobile"
],
"env":{
"API_KEY":"abc123",
"API_SECRET":"123abc",
"if":{
"native":{
"cpu":"amd"
}
}
},
"if":{
"native":{
"define":[
"android", "ios"
],
"env":{
"thread_count":8
}
},
"native || mobile":{
"env":{
"name":"bob"
}
},
"!native":{
"env":{
"thread_count":2
}
}
},
"var":{
"in":"./src/",
"out":"./bin/",
"path":"[a-zA-Z0-9~/:]+",
"if":{
"native":{
"name":"skial"
}
}
},
"all":{
"pre":["compile"],
"${path}README.md$":{
"cmd":[]
}
},
"minify":{
"pre":["build"],
"${path}README.md$":{
"cmd":[]
}
},
"(${path}/roundups/[0-9]/${path}).md$":{
"mem":["_temp"],
"cmd":[
"cat $0 | #{_temp} | marked | ${out}/$1/index.html"
]
},
"${path}${in}(${path}).hx$":{
"mem":["_temp"],
"_cmd":[
"$0 > ${out}/$1\\.hx"
]
},
"(${path}README).md$":{
"cmd":[
"cat $0 | $1\\2.md",
"cat < $0 > $1\\3.md"
]
},
"build":{
"pre":["minify"],
"${path}README.md$":{
"cmd":[]
}
},
"compile":{
"pre":["build"],
"${path}README.md$":{
"cmd":[]
}
},
"clean":{
"${path}README[0-9].md$":{
"cmd":[
"rm $0"
]
}
}
}