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

Add GraalVM 22 in index #268

Merged
merged 3 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/GenerateIndex.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//> using scala 3
//> using dep com.softwaremill.sttp.client3::core:3.9.5
//> using dep com.lihaoyi::ujson:3.2.0
//> using dep com.lihaoyi::os-lib:0.9.3
//> using dep com.softwaremill.sttp.client3::core:3.9.7
//> using dep com.lihaoyi::ujson:4.0.0
//> using dep com.lihaoyi::os-lib:0.10.3
//> using options -Wunused:all -deprecation

object GenerateIndex {
Expand Down
8 changes: 4 additions & 4 deletions src/Graalvm.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import Index.Os

object Graalvm {

def majorVersions = Seq(17, 20, 21, 22)

def fullIndex(ghToken: String): Index = {
val graalvmJdk17Index0 = index(ghToken, "17")
val graalvmJdk20Index0 = index(ghToken, "20")
val graalvmJdk21Index0 = index(ghToken, "21")
graalvmJdk17Index0 + graalvmJdk20Index0 + graalvmJdk21Index0
val indices = majorVersions.map(v => index(ghToken, v.toString))
indices.foldLeft(Index.empty)(_ + _)
}

def index(
Expand Down