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.8.0/compile
2023-01-15 00:02:30 -05:00

6 lines
127 B
Bash

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