mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
kotlin extension
This commit is contained in:
parent
d2c36d8a54
commit
a1209cdfd5
1 changed files with 4 additions and 1 deletions
5
packages/kotlin/1.4.31/compile
vendored
5
packages/kotlin/1.4.31/compile
vendored
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue