2 desc "Official Go implementation of the Bytom protocol "
3 homepage "https://bytom.io/"
4 url "https://github.com/Bytom/bytom/releases/download/v1.1.0/bytom-1.1.0-darwin_amd64.tgz"
6 sha256 "98b03a10e4885a382ed1255c896dab851fde197cd2a98ddd6558e91c2fe66004"
9 system 'mv bytomd-darwin_amd64 bytomd'
10 system 'mv bytomcli-darwin_amd64 bytomcli'
12 bin.install "bytomcli"
16 # `test do` will create, run in and delete a temporary directory.
18 # This test will fail and we won't accept that! For Homebrew/homebrew-core
19 # this will need to be a test that verifies the functionality of the
20 # software. Run the test with `brew test bytom`. Options passed
21 # to `brew install` such as `--HEAD` also need to be provided to `brew test`.
23 # The installed folder is not in the path, so use the entire path to any
24 # executables being tested: `system "#{bin}/program", "do", "something"`.