Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: VirtusLab/scala-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: caff6f667045ba5b3a1e067c73545d7933a28b4d
Choose a base ref
..
head repository: VirtusLab/scala-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 994934ff49aecc2b54997482d09d586196af7a76
Choose a head ref
Showing with 1 addition and 0 deletions.
  1. +1 −0 project/settings.sc
1 change: 1 addition & 0 deletions project/settings.sc
Original file line number Diff line number Diff line change
@@ -59,6 +59,7 @@ def fromPath(name: String): String =
def cs: T[String] = T.persistent {

val arch = sys.props.getOrElse("os.arch", "").toLowerCase(Locale.ROOT)
println(s"arch: $arch")
val ext = if (Properties.isWin) ".exe" else ""
val csVersion = if (arch == "aarch64" && Properties.isMac) buildCsM1Version else buildCsVersion
val dest = T.dest / s"cs-$csVersion$ext"