diff --git a/packages/kotlin/1.4.31/compile b/packages/kotlin/1.4.31/compile index d042c39..027ade0 100644 --- a/packages/kotlin/1.4.31/compile +++ b/packages/kotlin/1.4.31/compile @@ -1,4 +1,7 @@ #!/usr/bin/env bash # Put instructions to compile source code, remove this file if the language does not require this stage -kotlinc "$@" -include-runtime -d code.jar \ No newline at end of file + +rename 's/$/\.kt/' "$@" # Add .kt extension + +kotlinc *.kt -include-runtime -d code.jar \ No newline at end of file