piston/packages/kotlin/1.4.31/compile

7 lines
144 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
2021-04-24 10:09:51 +02:00
rename 's/$/\.kt/' "$@" # Add .kt extension
# Compile Kotlin code to a jar file
kotlinc *.kt -include-runtime -d code.jar