Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting an alternate kotlinc binary (or use kotlinc-jvm) #395

Open
cgruber opened this issue Feb 21, 2023 · 0 comments
Open

Allow setting an alternate kotlinc binary (or use kotlinc-jvm) #395

cgruber opened this issue Feb 21, 2023 · 0 comments

Comments

@cgruber
Copy link

cgruber commented Feb 21, 2023

In some situations, notably in some package managers like hermit, which have installers which don't add the "kotlinc" binary so they won't have kotlin-native and kotlin-regular packages conflict, they end up with someone needing to explicitly point at "kotlinc-jvm" to invoke it. kscript makes an assumption that "kotlinc" will exist in "KOTLIN_HOME" and that isn't always true.

Is there a possibility to allow for a "--kotlinc-binary" flag so an alternative can be used. Or switch kscript to use kotlinc-jvm if that is, indeed, the actual dependency?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant