1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-10-28 04:00:02 +01:00
piston/packages/kotlin/1.4.31/compile

6 lines
144 B
Bash

#!/usr/bin/env bash
rename 's/$/\.kt/' "$@" # Add .kt extension
# Compile Kotlin code to a jar file
kotlinc *.kt -include-runtime -d code.jar