From 3e009531bd87079a714fa63b695def21387354d1 Mon Sep 17 00:00:00 2001 From: Shubham Aggarwal Date: Sun, 16 Jul 2017 01:43:03 +0530 Subject: [PATCH] Add build system --- Kotlin.sublime-build | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Kotlin.sublime-build diff --git a/Kotlin.sublime-build b/Kotlin.sublime-build new file mode 100644 index 0000000..b769b03 --- /dev/null +++ b/Kotlin.sublime-build @@ -0,0 +1,16 @@ +{ + "path" : "/usr/local/bin:$PATH", + "selector" : "source.Kotlin", + "cmd" : "kotlinc \"${file}\" -include-runtime -d ${file_base_name}.jar", + "variants": [{ + "cmd": "kotlinc \"${file}\" -include-runtime -d ${file_base_name}.jar", + "name": "Compile" + },{ + "name": "Run", + "cmd": "java -jar ${file_base_name}.jar" + }], + "shell" : "true", + "windows" : { + "path" : "$PATH" + } +} \ No newline at end of file