kotlin extension

This commit is contained in:
Thomas Hobson 2021-04-24 20:09:51 +12:00
parent d2c36d8a54
commit a1209cdfd5
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 4 additions and 1 deletions

View File

@ -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
rename 's/$/\.kt/' "$@" # Add .kt extension
kotlinc *.kt -include-runtime -d code.jar