├── info.plist
├── README.mdown
└── Syntaxes
└── Installer Distribution Script.tmLanguage
/info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | contactEmailRot13
6 | puevf@pwnpx.pbz
7 | contactName
8 | Chris Thomas
9 | description
10 | Syntax for writing <a href="http://developer.apple.com/releasenotes/DeveloperTools/Installer.html">Installer distribution scripts</a>. Combines XML with JavaScript + custom symbol highlighting.
11 | name
12 | Installer
13 | uuid
14 | 0A5DEA4F-3A77-4CA5-9319-C8F885127572
15 |
16 |
17 |
--------------------------------------------------------------------------------
/README.mdown:
--------------------------------------------------------------------------------
1 | # Installation
2 |
3 | You can install this bundle in TextMate by opening the preferences and going to the bundles tab. After installation it will be automatically updated for you.
4 |
5 | # General
6 |
7 | * [Bundle Styleguide](http://kb.textmate.org/bundle_styleguide) — _before you make changes_
8 | * [Commit Styleguide](http://kb.textmate.org/commit_styleguide) — _before you send a pull request_
9 | * [Writing Bug Reports](http://kb.textmate.org/writing_bug_reports) — _before you report an issue_
10 |
11 | # License
12 |
13 | If not otherwise specified (see below), files in this repository fall under the following license:
14 |
15 | Permission to copy, use, modify, sell and distribute this
16 | software is granted. This software is provided "as is" without
17 | express or implied warranty, and with no claim as to its
18 | suitability for any purpose.
19 |
20 | An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar. For example “tidy” is accompanied by “tidy-license.txt”.
--------------------------------------------------------------------------------
/Syntaxes/Installer Distribution Script.tmLanguage:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | fileTypes
6 |
7 | dist
8 |
9 | keyEquivalent
10 | ^~I
11 | name
12 | Installer Distribution Script
13 | patterns
14 |
15 |
16 | begin
17 | (^\s*)?(?=<script>)
18 | beginCaptures
19 |
20 | 1
21 |
22 | name
23 | punctuation.whitespace.embedded.leading.apple-dist
24 |
25 |
26 | contentName
27 | meta.embedded.js.apple-dist
28 | end
29 | (?<=</script>)(?!<script>)(\s*$\n?)?
30 | endCaptures
31 |
32 | 1
33 |
34 | name
35 | punctuation.whitespace.embedded.trailing.apple-dist
36 |
37 |
38 | patterns
39 |
40 |
41 | begin
42 | ((<)(script)(>))
43 | beginCaptures
44 |
45 | 0
46 |
47 | name
48 | punctuation.definition.embedded.begin.apple-dist
49 |
50 | 1
51 |
52 | name
53 | meta.tag.content.embedded.begin.apple-dist
54 |
55 | 2
56 |
57 | name
58 | punctuation.definition.tag.xml
59 |
60 | 3
61 |
62 | name
63 | entity.name.tag.xml
64 |
65 | 4
66 |
67 | name
68 | punctuation.definition.tag.xml
69 |
70 |
71 | contentName
72 | source.js
73 | end
74 | (((</))(script)(>))
75 | endCaptures
76 |
77 | 0
78 |
79 | name
80 | punctuation.definition.embedded.end.apple-dist
81 |
82 | 1
83 |
84 | name
85 | meta.tag.content.embedded.end.apple-dist
86 |
87 | 2
88 |
89 | name
90 | punctuation.definition.tag.xml
91 |
92 | 3
93 |
94 | name
95 | source.js
96 |
97 | 4
98 |
99 | name
100 | entity.name.tag.xml
101 |
102 | 5
103 |
104 | name
105 | punctuation.definition.tag.xml
106 |
107 |
108 | patterns
109 |
110 |
111 | include
112 | #javascript
113 |
114 |
115 |
116 |
117 |
118 |
119 | include
120 | text.xml
121 |
122 |
123 | repository
124 |
125 | javascript
126 |
127 | patterns
128 |
129 |
130 | begin
131 | \bsystem\b
132 | end
133 | (?=(\(|\s))|$
134 | name
135 | support.class.apple-dist
136 | patterns
137 |
138 |
139 | match
140 | \b(compareVersions|defaults|gestalt|localizedString(WithFormat)?|localizedStandardString(WithFormat)?|log|propertiesOf|run(Once)?|sysctl|users\.desktopSessionsCount|version)\b
141 | name
142 | support.function.apple-dist
143 |
144 |
145 | begin
146 | \b(applications)\b
147 | end
148 | (?=(\(|\s))|$
149 | name
150 | support.function.apple-dist
151 | patterns
152 |
153 |
154 | match
155 | \b(fromPID|fromIdentifier|all)\b
156 | name
157 | support.variable.apple-dist
158 |
159 |
160 |
161 |
162 | begin
163 | \b(files)\b
164 | end
165 | (?=(\(|\s))|$
166 | name
167 | support.function.apple-dist
168 | patterns
169 |
170 |
171 | match
172 | \b(fileExistsAtPath|plistAtPath|bundleAtPath)\b
173 | name
174 | support.variable.apple-dist
175 |
176 |
177 |
178 |
179 | begin
180 | \b(ioregistry)\b
181 | end
182 | (?=(\(|\s))|$
183 | name
184 | support.function.apple-dist
185 | patterns
186 |
187 |
188 | match
189 | \b(fromPath|matching(Class|Name)|(children|parents)Of)\b
190 | name
191 | support.variable.apple-dist
192 |
193 |
194 |
195 |
196 |
197 |
198 | begin
199 | \b(choices)\b
200 | end
201 | (?=(\(|\s))|$
202 | name
203 | support.class.apple-dist
204 | patterns
205 |
206 |
207 | match
208 | \b(.*)\.(bundle|customLocation(AllowAlternateVolumes)?|description(-mime-type)?|(start_)?enabled|id|(start_)?selected|tooltip|(start_)?visible|title|packages|packageUpgradeAction)\b
209 | name
210 | support.variable.apple-dist
211 |
212 |
213 |
214 |
215 | begin
216 | \bmy\b
217 | end
218 | (?=(\(|\s))|$
219 | name
220 | support.class.apple-dist
221 | patterns
222 |
223 |
224 | begin
225 | \b(choice)\b
226 | end
227 | (?=(\(|\s))|$
228 | name
229 | support.function.apple-dist
230 | patterns
231 |
232 |
233 | match
234 | \b(bundle|customLocation(AllowAlternateVolumes)?|description(-mime-type)?|(start_)?enabled|id|(start_)?selected|tooltip|(start_)?visible|title|packages|packageUpgradeAction)\b
235 | name
236 | support.variable.apple-dist
237 |
238 |
239 |
240 |
241 | begin
242 | \b(result)\b
243 | end
244 | (?=(\(|\s))|$
245 | name
246 | support.function.apple-dist
247 | patterns
248 |
249 |
250 | match
251 | \b(type|title|message)\b
252 | name
253 | support.variable.apple-dist
254 |
255 |
256 |
257 |
258 | begin
259 | \b(target)\b
260 | end
261 | (?=(\(|\s))|$
262 | name
263 | support.function.apple-dist
264 | patterns
265 |
266 |
267 | match
268 | \b(mountpoint|availableKilobytes|systemVersion|receiptForIdentifier)\b
269 | name
270 | support.variable.apple-dist
271 |
272 |
273 |
274 |
275 |
276 |
277 | include
278 | source.js
279 |
280 |
281 |
282 |
283 | scopeName
284 | text.xml.apple-dist
285 | uuid
286 | 25D29CD3-07B7-44C6-A96A-46CF771130EB
287 |
288 |
289 |
--------------------------------------------------------------------------------