forked from b-g/processing-sublime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Processing.sublime-build
33 lines (25 loc) · 1.5 KB
/
Processing.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
{
"selector": "source.pde",
// for windows users replace "processing-java" with "c:/path/to/processing/processing-java.exe"
"cmd": ["processing-java", "--sketch=$file_path", "--output=$file_path/build-tmp", "--run", "--force"],
"variants": [
{ "cmd": ["processing-java", "--sketch=$file_path", "--output=$file_path/build-tmp", "--present", "--force"],
"name": "Run sketch fullscreen"
},
{ "cmd": ["processing-java", "--sketch=$file_path", "--output=$file_path/application.linux32", "--export", "--platform=linux", "--bits=32", "--force"],
"name": "Export sketch as a 32-bit linux application"
},
{ "cmd": ["processing-java", "--sketch=$file_path", "--output=$file_path/application.linux64", "--export", "--platform=linux", "--force"],
"name": "Export sketch as a 64-bit linux application"
},
{ "cmd": ["processing-java", "--sketch=$file_path", "--output=$file_path/application.macosx", "--export", "--platform=macosx", "--force"],
"name": "Export sketch as a macosx application"
},
{ "cmd": ["processing-java", "--sketch=$file_path", "--output=$file_path/application.windows32", "--export", "--platform=windows", "--bits=32", "--force"],
"name": "Export sketch as a 32-bit windows application"
},
{ "cmd": ["processing-java", "--sketch=$file_path", "--output=$file_path/application.windows64", "--export", "--platform=windows", "--force"],
"name": "Export sketch as a 64-bit windows application"
}
]
}