Skip to content

Commit

Permalink
feat: add mesc
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg committed Aug 17, 2024
1 parent 04f5a38 commit 241f892
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Formula/mesc.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
class Mesc < Formula
desc "Ethereum endpoint management tool"
homepage "https://github.com/paradigmxyz/mesc"
url "https://github.com/paradigmxyz/mesc.git",
tag: "0.2.0",
revision: "de4e784c87cdbe61a649f541d7d0510a231fe54d"
license any_of: ["Apache-2.0", "MIT"]
head "https://github.com/paradigmxyz/mesc.git", branch: "main"

livecheck do
url :stable
strategy :github_latest
end

depends_on "rust" => :build

def install

Check failure on line 17 in Formula/mesc.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

`brew install --verbose --formula --build-bottle paradigmxyz/brew/mesc` failed on macOS Sonoma (14) on Apple Silicon!

==> Fetching paradigmxyz/brew/mesc ==> Cloning https://github.com/paradigmxyz/mesc.git Updating /Users/runner/Library/Caches/Homebrew/mesc--git /usr/bin/env git config remote.origin.url https://github.com/paradigmxyz/mesc.git /usr/bin/env git config remote.origin.fetch +refs/tags/0.2.0:refs/tags/0.2.0 /usr/bin/env git config remote.origin.tagOpt --no-tags /usr/bin/env git config advice.detachedHead false /usr/bin/env git config core.fsmonitor false ==> Checking out tag 0.2.0 /usr/bin/env git checkout -f 0.2.0 -- HEAD is now at de4e784 bump to 0.2.0 /usr/bin/env git reset --hard 0.2.0 -- HEAD is now at de4e784 bump to 0.2.0 ==> Installing mesc from paradigmxyz/brew /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/SPECIFICATION.md /private/tmp/homebrew-unpack20240817-13494-6unna0/SPECIFICATION.md /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/LICENSE-APACHE /private/tmp/homebrew-unpack20240817-13494-6unna0/LICENSE-APACHE /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/go/. /private/tmp/homebrew-unpack20240817-13494-6unna0/go /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/python/. /private/tmp/homebrew-unpack20240817-13494-6unna0/python /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/typescript/. /private/tmp/homebrew-unpack20240817-13494-6unna0/typescript /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/rust/. /private/tmp/homebrew-unpack20240817-13494-6unna0/rust /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/tests/. /private/tmp/homebrew-unpack20240817-13494-6unna0/tests /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/docs/. /private/tmp/homebrew-unpack20240817-13494-6unna0/docs /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/cli/. /private/tmp/homebrew-unpack20240817-13494-6unna0/cli /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/README.md /private/tmp/homebrew-unpack20240817-13494-6unna0/README.md /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/.gitignore /private/tmp/homebrew-unpack20240817-13494-6unna0/.gitignore /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/examples/. /private/tmp/homebrew-unpack20240817-13494-6unna0/examples /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/.github/. /private/tmp/homebrew-unpack20240817-13494-6unna0/.github /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/.git/. /private/tmp/homebrew-unpack20240817-13494-6unna0/.git /usr/bin/env cp -pR /Users/runner/Library/Caches/Homebrew/mesc--git/LICENSE-MIT /private/tmp/homebrew-unpack20240817-13494-6unna0/LICENSE-MIT /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240817-13494-6unna0/SPECIFICATION.md /private/tmp/mesc-20240817-13494-fvfg2d/SPECIFICATION.md /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240817-13494-6unna0/LICENSE-APACHE /private/tmp/mesc-20240817-13494-fvfg2d/LICENSE-APACHE /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240817-13494-6unna0/go/. /private/tmp/mesc-20240817-13494-fvfg2d/go /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240817-13494-6unna0/python/. /private/tmp/mesc-20240817-13494-fvfg2d/python /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240817-13494-6unna0/typescript/. /private/tmp/mesc-20240817-13494-fvfg2d/typescript /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240817-13494-6unna0/rust/. /private/tmp/mesc-20240817-13494-fvfg2d/rust /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240817-13494-6unna0/tests/. /private/tmp/mesc-20240817-13494-fvfg2d/tests /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240817-13494-6unna0/docs/. /private/tmp/mesc-20240817-13494-fvfg2d/docs /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240817-13494-6unna0/cli/. /private/tmp/mesc-20240817-13494-fvfg2d/cli /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240817-13494-6unna0/README.md /private/tmp/mesc-20240817-13494-fvfg2d/README.md /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240817-13494-6unna0/.g
system "cargo", "install", "--path", "rust/crates/mesc_cli", "--release", *std_cargo_args
end

test do
system "#{bin}/mesc", "--help"
end
end

0 comments on commit 241f892

Please sign in to comment.