2 desc "Official Go implementation of the Bytom protocol "
3 homepage "https://bytom.io/"
4 url "ttps://github.com/Bytom/bytom/releases/download/v1.0.7-hotfix-9e872c0/bytom-1.0.7-hotfix-9e872c0-darwin_amd64.tgz"
5 version "1.0.7-hotfix-9e872c0"
6 sha256 "9e1d34c0d02d0ad6251a4a87538d5d7eeea278b298aee940e2cac090beaa75ef"
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"`.