Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ignite
GitHub Repository: ignite/cli
Path: blob/main/packaging/brew/ignite.rb
1007 views
1
class Ignite < Formula
2
desc "Build, launch, and maintain any crypto application with Ignite CLI"
3
homepage "https://github.com/ignite/cli"
4
url "https://github.com/ignite/cli/archive/refs/tags/v28.2.0.tar.gz"
5
sha256 "556f953fd7f922354dea64e7b3dade5dd75b3f62ece93167e2ba126cac27602e"
6
license "Apache-2.0"
7
8
depends_on "go"
9
depends_on "node"
10
11
def install
12
system "go", "build", "-mod=readonly", *std_go_args(output: bin/"ignite"), "./ignite/cmd/ignite"
13
end
14
15
test do
16
ENV["DO_NOT_TRACK"] = "1"
17
system bin/"ignite", "s", "chain", "mars"
18
assert_predicate testpath/"mars/go.mod", :exist?
19
end
20
end
21
22