Skip to content

Commit 9413890

Browse files
committed
split
1 parent 4c6cf97 commit 9413890

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

AppleScript (Binary).sublime-build

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"selector": "source.applescript.binary",
3+
"cmd": [
4+
"echo",
5+
"Error: This build system only works on macOS"
6+
],
7+
"osx": {
8+
"cmd": [
9+
"/usr/bin/osascript",
10+
"$file"
11+
]
12+
},
13+
"variants": [
14+
{
15+
"name": "Script bundle",
16+
"osx": {
17+
"cmd": [
18+
"/usr/bin/osacompile",
19+
"-o",
20+
"$file_base_name.scptd",
21+
"$file"
22+
]
23+
}
24+
},
25+
{
26+
"name": "Application",
27+
"osx": {
28+
"cmd": [
29+
"/usr/bin/osacompile",
30+
"-o",
31+
"$file_base_name.app",
32+
"$file"
33+
]
34+
}
35+
}
36+
]
37+
}

AppleScript.sublime-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"selector": "source.applescript",
2+
"selector": "source.applescript -source.applescript.binary",
33
"cmd": [
44
"echo",
55
"Error: This build system only works on macOS"

0 commit comments

Comments
 (0)