Created
October 30, 2020 05:57
-
-
Save SourabhSNath/f775a5dd54ddda4565cfbaf3e1f15982 to your computer and use it in GitHub Desktop.
To run Kotlin and then delete the jar and class files after running using Code Runner on VS Code
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
// Add this within code-runner.executorMap | |
"kotlin": "cd $dir && kotlinc $fileName -include-runtime -d $fileNameWithoutExt.jar && java -jar $fileNameWithoutExt.jar && rm -r $fileNameWithoutExt.jar $fileNameWithoutExtKt.class" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment