Last active
July 6, 2016 19:06
-
-
Save tatemz/2621654a404a6ff5aa602f8abf54806e to your computer and use it in GitHub Desktop.
A build system for sublime text using docker java containers. Edit to fit your own needs... Check out this page for more build variables http://docs.sublimetext.info/en/latest/reference/build_systems/configuration.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"shell_cmd": "docker run -v \"$file:/$file_name\" --rm java sh -c 'javac $file_name && java $file_base_name'" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HelloWorld { | |
public static void main(String[] args) { | |
System.out.println("Hello, World"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment