Some checks are pending
Docs Deploy / build_and_deploy (push) Waiting to run
Generate Docs / cli (push) Waiting to run
Generate Config Doc / cli (push) Waiting to run
Go formatting / go-formatting (push) Waiting to run
Check links / markdown-link-check (push) Waiting to run
Integration / pre-test (push) Waiting to run
Integration / test on (push) Blocked by required conditions
Integration / status (push) Blocked by required conditions
Lint / Lint Go code (push) Waiting to run
Test / test (ubuntu-latest) (push) Waiting to run
20 lines
623 B
Ruby
20 lines
623 B
Ruby
class Ignite < Formula
|
|
desc "Build, launch, and maintain any crypto application with Ignite CLI"
|
|
homepage "https://github.com/ignite/cli"
|
|
url "https://github.com/ignite/cli/archive/refs/tags/v28.2.0.tar.gz"
|
|
sha256 "556f953fd7f922354dea64e7b3dade5dd75b3f62ece93167e2ba126cac27602e"
|
|
license "Apache-2.0"
|
|
|
|
depends_on "go"
|
|
depends_on "node"
|
|
|
|
def install
|
|
system "go", "build", "-mod=readonly", *std_go_args(output: bin/"ignite"), "./ignite/cmd/ignite"
|
|
end
|
|
|
|
test do
|
|
ENV["DO_NOT_TRACK"] = "1"
|
|
system bin/"ignite", "s", "chain", "mars"
|
|
assert_predicate testpath/"mars/go.mod", :exist?
|
|
end
|
|
end
|