Skip to content

Commit

Permalink
trinsic-cli 1.0.0 (new formula)
Browse files Browse the repository at this point in the history
Closes #3.

Signed-off-by: Tomislav Markovski <[email protected]>
  • Loading branch information
tmarkovski committed Nov 9, 2021
1 parent 4e9f16c commit 7d77f58
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Formula/trinsic-cli.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class TrinsicCli < Formula
desc "Command-line interface for Trinsic Ecosystems APIs"
homepage "https://docs-v2.trinsic.id/"
url "https://github.com/trinsic-id/sdk/releases/download/v1.0.1/cli-1.0.0.tar.gz"
sha256 "35f1b17cd80ef52dd8e628380c7401bc1b8e818b63033cce0d5ad328558a71a6"
license "Apache-2.0"

depends_on "rust" => :build

def install
system "cargo", "install", *std_cargo_args
end

test do
config_toml = shell_output "#{bin}/trinsic config --show"

assert config_toml.downcase[".trinsic/config.toml"]
assert config_toml.downcase["[server]"]
end
end

0 comments on commit 7d77f58

Please sign in to comment.