piston/packages/kotlin/1.8.20/compile

6 lines
143 B
Plaintext
Raw Normal View History

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