diff --git a/cargo-dist/tests/snapshots/axolotlsay_abyss_only.snap b/cargo-dist/tests/snapshots/axolotlsay_abyss_only.snap index 5f2b2fe10..a06fe0c53 100644 --- a/cargo-dist/tests/snapshots/axolotlsay_abyss_only.snap +++ b/cargo-dist/tests/snapshots/axolotlsay_abyss_only.snap @@ -721,12 +721,20 @@ download_binary_and_run_installer "$@" || exit 1 ================ formula.rb ================ class Axolotlsay < Formula desc "💬 a CLI for learning to distribute CLIs in rust" - if Hardware::CPU.type == :arm - url "https://fake.axo.dev/faker/axolotlsay/fake-id-do-not-upload/axolotlsay-aarch64-apple-darwin.tar.gz" - else - url "https://fake.axo.dev/faker/axolotlsay/fake-id-do-not-upload/axolotlsay-x86_64-apple-darwin.tar.gz" - end version "0.2.1" + on_macos do + on_arm do + url "https://fake.axo.dev/faker/axolotlsay/fake-id-do-not-upload/axolotlsay-aarch64-apple-darwin.tar.gz" + end + on_intel do + url "https://fake.axo.dev/faker/axolotlsay/fake-id-do-not-upload/axolotlsay-x86_64-apple-darwin.tar.gz" + end + end + on_linux do + on_intel do + url "https://fake.axo.dev/faker/axolotlsay/fake-id-do-not-upload/axolotlsay-x86_64-unknown-linux-gnu.tar.gz" + end + end license "MIT OR Apache-2.0" def install @@ -2183,7 +2191,8 @@ maybeInstall(true).then(run); "kind": "installer", "target_triples": [ "aarch64-apple-darwin", - "x86_64-apple-darwin" + "x86_64-apple-darwin", + "x86_64-unknown-linux-gnu" ], "install_hint": "brew install axolotlsay", "description": "Install prebuilt binaries via Homebrew"