-
Notifications
You must be signed in to change notification settings - Fork 125
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
Update kscript.hcl #360
base: master
Are you sure you want to change the base?
Update kscript.hcl #360
Conversation
Hmm. This is actually breaking because the older versions break on Kotlin 1.9. I'll have to be more persnickety about which versions require which versions of kotlin. Sigh. |
6faa9a9
to
8b40a92
Compare
Add in a release-candidate to the versions, since kscript breaks on kotlin-1.9 without it. Fix the version dependencies, to be more precise Older versions can't use 1.9, so target their requires statements to 1.8*
kscript.hcl
Outdated
} | ||
|
||
version "4.2.3-RC.1" { | ||
requires = ["jre@17", "kotlin"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thoughts:
- Keep it as
["jre", "kotlin"]
since we want the latest. - Put this at the top of the file, since it applies to all future versions. Leave the special case in the special case
version
block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So... when it just had "jre" it broke in the macos build.
version "4.1.1" "4.2.0" "4.2.1" "4.2.2" { | ||
requires = ["jre@17", "kotlin-1.8.22"] | ||
test = "kscript \"\"" // The test rig can't install older kotlin to test these, but they've been tested prior. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can't install it???????????? 😱
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, let me rephrase - AFAICT it doesn't. I think each "test" in the foreach doesn't get its own hermit container.
Note, I've paused on this but I'll get back to it shortly. |
Add in a release-candidate to the versions, since kscript breaks on kotlin-1.9 without it.