-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTheos.sublime-build
71 lines (67 loc) · 1.71 KB
/
Theos.sublime-build
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
{
"target": "ansi_color_build",
"syntax": "Packages/ANSIescape/ANSI.tmLanguage",
"selector":"source.objective-c",
"shell_cmd": "cd $file_path && make clean && rm -rf .theos",
"variants":
[
{
"name": "iPhone Package",
"shell_cmd": "cd $file_path && make package",
"env":
{
"TARGET":"iphone:clang",
"ARCHS":"armv7 armv7s arm64"
}
},
{
"name": "iPhone Final Package",
"shell_cmd": "cd $file_path && make package",
"env":
{
"TARGET":"iphone:clang",
"ARCHS":"armv7 armv7s arm64",
"FINALPACKAGE":"1"
}
},
{
"name": "iPhone Install",
"shell_cmd": "cd $file_path && make package install",
"env":
{
"TARGET":"iphone:clang",
"ARCHS":"armv7 armv7s arm64",
"GO_EASY_ON_ME":"1"
}
},
{
"name":"Simject Install",
"shell_cmd": "cd $file_path && make && ./simject.sh",
"env": {
"TARGET": "simulator:clang",
"ARCHS":"x86_64 i386"
},
},
{
"name": "iPhone Testing Upload",
"shell_cmd": "cd $file_path && make package && dropbox_uploader.sh upload `cat .theos/last_package` `cut -f3 -d '/' .theos/last_package` && dropbox_uploader.sh share `cut -f3 -d '/' .theos/last_package`",
"env": {
"TARGET": "iphone:clang",
"ARCHS": "armv7 armv7s arm64"
}
},
{
"name": "iPhone Release Upload",
"shell_cmd": "cd $file_path && make package && dropbox_uploader.sh upload `cat .theos/last_package` `cut -f3 -d '/' .theos/last_package` && dropbox_uploader.sh share `cut -f3 -d '/' .theos/last_package`",
"env": {
"TARGET": "iphone:clang",
"ARCHS": "armv7 armv7s arm64",
"FINALPACKAGE": "1"
}
},
{
"name": "Delete Last Package",
"shell_cmd": "cd $file_path && rm `cat .theos/last_package`",
}
]
}