Skip to content

Commit

Permalink
Merge pull request #51 from mckennapsean/master
Browse files Browse the repository at this point in the history
add new processing 3 build file
  • Loading branch information
b-g committed Nov 22, 2014
2 parents 1111093 + 889c8b1 commit 0051719
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions Processing 3.sublime-build
@@ -0,0 +1,43 @@
{
"selector": "source.pde",
"cmd": ["processing-java", "--sketch=$file_path", "--run", "--force"],
"file_regex": "^(...*?):([0-9]*)",
"encoding": "ISO8859-1",

// if you choose to install processing-java just in your home dir then use for the cmd "~/processing-java" instead of "processing-java"
"variants": [

{ "cmd": ["processing-java", "--sketch=$file_path", "--present", "--force"],
"name": "Run sketch fullscreen"
},

{ "cmd": ["processing-java", "--sketch=$file_path", "--output=$file_path/build-tmp", "--run", "--force"],
"name": "Build & run sketch"
},

{ "cmd": ["processing-java", "--sketch=$file_path", "--output=$file_path/build-tmp", "--present", "--force"],
"name": "Build & 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", "--bits=64", "--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", "--bits=64", "--force"],
"name": "Export sketch as a 64-bit windows application"
}

]
}

0 comments on commit 0051719

Please sign in to comment.