1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-05-03 02:16:26 +02: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