2 desc "A digital asset layer protocol is the infrastructure of asset Internet."
3 homepage 'https://bytom.io/'
4 url 'https://github.com/bytom/bytom.git', :tag => 'v1.0.6rc1'
7 url 'https://github.com/bytom/bytom.git', :branch => 'dev'
10 # Require El Capitan at least
11 depends_on :macos => :el_capitan
13 # Is there a better way to ensure that frameworks (IOKit, CoreServices, etc) are installed?
14 depends_on :xcode => :build
16 depends_on 'go' => :build
19 # ENV["GOROOT"] = "#{HOMEBREW_PREFIX}/opt/go/libexec"
20 system "go", "env" # Debug env
21 system "make", "bytomd"
22 system "make", "bytomcli"
23 bin.install 'cmd/bytomd/bytomd'
24 bin.install 'cmd/bytomd/bytomcli'
28 system "bytomcli", "version"