Skip to content

Files

Latest commit

bafeac4 · Jan 10, 2025

History

History

kt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 10, 2025
Jan 8, 2025
Dec 3, 2024
Dec 26, 2024
Jan 10, 2025
Dec 1, 2024
Dec 27, 2024
Dec 1, 2024
Dec 6, 2024
Dec 26, 2024
Dec 22, 2024
Dec 22, 2024
Dec 1, 2024
Dec 26, 2024

README.md

my answers in Kotlin Kotlin CI

This project builds with Gradle.

Run the test suite:

./gradlew :aoc2024-lib:allTests

Run kotlinx.benchmark (JMH) benchmarks:

./gradlew :aoc2024-exe:benchmark

Print solutions for the inputs provided in local data files:

./gradlew :aoc2024-exe:jvmRun :aoc2024-exe:runReleaseExecutable{LinuxX64,Macos{X64,Arm64}} :aoc2024-exe:{js,wasmJs,wasmWasi}NodeProductionRun

Run all checks, including Detekt static code analysis:

./gradlew check

Run the test suite as a GraalVM Native Image:

export GRAALVM_HOME=...
./gradlew --no-configuration-cache :graalvm:nativeTest

Run JMH benchmarks as a GraalVM Native Image:

export GRAALVM_HOME=...
./gradlew --no-configuration-cache -Pagent :graalvm:nativeBenchmarkRun

Print solutions for the inputs provided in local data files as a GraalVM Native Image:

export GRAALVM_HOME=...
./gradlew --no-configuration-cache :graalvm:nativeRun