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

fix(tests): update for Linuxbrew #611

Merged
merged 1 commit into from
Nov 27, 2023
Merged
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
21 changes: 15 additions & 6 deletions cargo-dist/tests/snapshots/axolotlsay_abyss_only.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down
Loading