From aef54dfa85327d880183aef598d8c18c547838e8 Mon Sep 17 00:00:00 2001 From: Danilo Tuler Date: Tue, 30 Apr 2024 11:33:05 -0400 Subject: [PATCH] feat: cartesi tap --- Formula/{sunodo.rb => cartesi.rb} | 12 ++++++------ README.md | 9 +++------ scripts/test | 2 +- 3 files changed, 10 insertions(+), 13 deletions(-) rename Formula/{sunodo.rb => cartesi.rb} (51%) diff --git a/Formula/sunodo.rb b/Formula/cartesi.rb similarity index 51% rename from Formula/sunodo.rb rename to Formula/cartesi.rb index 183b8da..eb5fdd0 100644 --- a/Formula/sunodo.rb +++ b/Formula/cartesi.rb @@ -1,10 +1,10 @@ require "language/node" -class Sunodo < Formula - desc "Sunodo CLI" - homepage "https://github.com/sunodo/sunodo" - url "https://registry.npmjs.org/@sunodo/cli/-/cli-0.13.1.tgz" - sha256 "8e87db4970503df6f13b9b9a3dd05cc81eba182cf9464dbaebcb48f9ee064cf6" +class Cartesi < Formula + desc "Cartesi CLI" + homepage "https://github.com/cartesi/cli" + url "https://registry.npmjs.org/@cartesi/cli/-/cli-0.14.0.tgz" + sha256 "81333a40e9a982cac90d219127f2faaa7a3e44f5cbb910aef96dcc313a89e56f" license "Apache-2.0" livecheck do @@ -18,7 +18,7 @@ def install bin.install_symlink Dir["#{libexec}/bin/*"] # use node installed by the "node" formula instead of the PATH one - inreplace libexec/"lib/node_modules/@sunodo/cli/bin/run.js", "#!/usr/bin/env node", "#!#{Formula["node"].opt_bin}/node" + inreplace libexec/"lib/node_modules/@cartesi/cli/bin/run.js", "#!/usr/bin/env node", "#!#{Formula["node"].opt_bin}/node" end test do diff --git a/README.md b/README.md index e9707c6..772dd97 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,7 @@ -# Sunodo Homebrew Tap - -Install the Sunodo CLI with: +# Cartesi Homebrew Tap ```shell -brew tap sunodo/tap -brew install sunodo +brew tap cartesi/tap ``` -For more information, visit https://docs.sunodo.io +For more information, visit https://docs.cartesi.io diff --git a/scripts/test b/scripts/test index 10b48ba..5ab035b 100755 --- a/scripts/test +++ b/scripts/test @@ -3,5 +3,5 @@ set -ex brew update -brew install Formula/sunodo.rb +brew install Formula/cartesi.rb sunodo --help