Skip to content

Commit

Permalink
cql 0.6.0
Browse files Browse the repository at this point in the history
Closes #39884.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
  • Loading branch information
chenrui333 authored and fxcoudert committed May 15, 2019
1 parent 213b459 commit e331f82
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Formula/cql.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Cql < Formula
desc "Decentralized SQL database with blockchain features"
homepage "https://covenantsql.io"
url "https://github.com/CovenantSQL/CovenantSQL/archive/v0.5.0.tar.gz"
sha256 "ebee3e8fca672d6f3d3d607e380ec7a1f3a31501e5c80b85c660f50eda7a2240"
url "https://github.com/CovenantSQL/CovenantSQL/archive/v0.6.0.tar.gz"
sha256 "2e14e9f44940c0cc3d861ebd7430a962e08c91b3569d85cc6be7460ebe3215aa"
head "https://github.com/CovenantSQL/CovenantSQL.git"

bottle do
Expand All @@ -16,10 +16,10 @@ class Cql < Formula

def install
ENV["GOPATH"] = buildpath
ENV["CQLVERSION"] = "v0.5.0"
ENV["CQLVERSION"] = "v0.6.0"
ENV["CGO_ENABLED"] = "1"
mkdir_p "src/github.com/CovenantSQL"
ldflags = "-X main.version=v0.5.0 " \
ldflags = "-X main.version=v0.6.0 " \
"-X github.com/CovenantSQL/CovenantSQL/conf.RoleTag=C " \
"-X github.com/CovenantSQL/CovenantSQL/utils/log.SimpleLog=Y"
ln_s buildpath, "src/github.com/CovenantSQL/CovenantSQL"
Expand All @@ -30,7 +30,7 @@ def install

test do
testconf = testpath/"confgen"
system bin/"cql", "generate", "-config", testconf, "-no-password", "config"
system bin/"cql", "generate", testconf, "config"
assert_predicate testconf/"private.key", :exist?
assert_predicate testconf/"config.yaml", :exist?
end
Expand Down

0 comments on commit e331f82

Please sign in to comment.