piston/packages/kotlin/1.4.31/compile

7 lines
212 B
Bash

#!/usr/bin/env bash
# Put instructions to compile source code, remove this file if the language does not require this stage
rename 's/$/\.kt/' "$@" # Add .kt extension
kotlinc *.kt -include-runtime -d code.jar