-
Notifications
You must be signed in to change notification settings - Fork 1
/
cita.rb
33 lines (26 loc) · 997 Bytes
/
cita.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# coding: utf-8
# CITA Formula
class Cita < Formula
desc "A high performance blockchain for enterprise users."
homepage "https://github.com/cryptape/cita"
version "0.24.0"
url "https://github.com/cryptape/cita/releases/download/v0.24.0/cita_secp256k1_sha3.tar.gz"
sha256 "05dd4cea809e2f10c85b1a798e636d595968d4bea4e969a7be15cf89542352c2"
def install
libexec.install Dir["*"]
bin.install_symlink Dir["#{libexec}/bin/cita"]
bin.install_symlink Dir["#{libexec}/bin/cita-env"]
bin.install_symlink Dir["#{libexec}/bin/cita-config"]
end
def caveats; <<~EOS
By default, binaries installed by cita will be placed into:
#{libexec}
Usage: cita_commander <command> <node> [options]
where <command> is one of the following:
{ help | create | port | setup | start | stop | restart
ping | top | backup | clean | logs | logrotate }
Run `cita help` for more detailed information.
happy hacking!!! 🧙
EOS
end
end