Skip to content

Commit

Permalink
devonfw#1039 Add support for Kotlin
Browse files Browse the repository at this point in the history
devonfw#1039 Add support for Kotlin
  • Loading branch information
CREITZ25 committed Apr 13, 2023
1 parent ad47e11 commit d307df0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/src/main/resources/scripts/command/kotlinc-native
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ TOOL_VERSION_COMMAND="kotlinc-native -version"
# shellcheck source=scripts/commandlet-cli
source "$(dirname "${0}")"/../commandlet-cli

# Call kotlin natice with specified arguments.
function doRun() {
doSetup silent
doRunCommand "${KOTLINC_NATIVE_HOME}/bin/kotlinc-native ${*}"
}

# $1: optional silent mode
function doSetup() {
doInstall "kotlinc-native" "${KOTLINC_NATIVE_VERSION}" "${1}"
Expand Down

0 comments on commit d307df0

Please sign in to comment.