From d699761f92f762fbfacf3e7521b949e165ffb3ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Raddum=20Berg?= Date: Thu, 30 Jun 2022 00:34:36 +0200 Subject: [PATCH] towards `arm64-apple-darwin` --- .../src/main/scala/bleep/internal/FetchBleepRelease.scala | 1 + channel/bleep.json | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bleep-cli/src/main/scala/bleep/internal/FetchBleepRelease.scala b/bleep-cli/src/main/scala/bleep/internal/FetchBleepRelease.scala index 112c002ca..8bbfd9f39 100644 --- a/bleep-cli/src/main/scala/bleep/internal/FetchBleepRelease.scala +++ b/bleep-cli/src/main/scala/bleep/internal/FetchBleepRelease.scala @@ -43,6 +43,7 @@ object FetchBleepRelease { case (Right("amd64"), Right("darwin")) if isOldLayout => Right(s"$base/bleep-${wanted.value}-x86-64-apple-darwin.gz") case (Right("amd64"), Right("linux")) if isOldLayout => Right(s"$base/bleep-${wanted.value}-x86-64-pc-linux.gz") case (Right("amd64"), Right("windows")) if isOldLayout => Right(s"$base/bleep-${wanted.value}-x86-64-pc-win32.zip") + case (Right("arm64"), Right("darwin")) => Right(s"$base/bleep-arm64-apple-darwin.tar.gz") case (Right("amd64"), Right("darwin")) => Right(s"$base/bleep-x86_64-apple-darwin.tar.gz") case (Right("amd64"), Right("linux")) => Right(s"$base/bleep-x86_64-pc-linux.tar.gz") case (Right("amd64"), Right("windows")) => Right(s"$base/bleep-x86_64-pc-win32.zip") diff --git a/channel/bleep.json b/channel/bleep.json index 50c3965b7..ed1afc0a7 100644 --- a/channel/bleep.json +++ b/channel/bleep.json @@ -5,11 +5,13 @@ "dependencies": [ "build.bleep:bleep-cli_2.13:latest.release" ], + "mainClass": "bleep.Main", "launcherType": "graalvm-native-image", "prebuiltBinaries": { "x86_64-pc-linux": "tgz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${platform}.tar.gz!bleep", "x86_64-pc-win32": "zip+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${platform}.zip!bleep.exe", - "x86_64-apple-darwin": "tgz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${platform}.tar.gz!bleep" + "x86_64-apple-darwin": "tgz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${platform}.tar.gz!bleep", + "arm64-apple-darwin": "tgz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${platform}.tar.gz!bleep" }, "versionOverrides": [ {