Skip to content

Commit

Permalink
Merge pull request axodotdev#611 from axodotdev/fix_tests
Browse files Browse the repository at this point in the history
fix(tests): update for Linuxbrew
  • Loading branch information
mistydemeo authored Nov 27, 2023
2 parents eeaea8b + 6a7fbc9 commit 2e494a2
Showing 1 changed file with 15 additions and 6 deletions.
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

0 comments on commit 2e494a2

Please sign in to comment.