aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-23 15:17:52 +0800
committerWei-Ning Huang <w@dexon.org>2018-12-19 20:54:27 +0800
commitc2438797985d8bcf4a37a93b07cd42fe0c4baa9e (patch)
treee439b7bbdc66d39184388555e1284b2f17fc9ec9 /Makefile
parent809c27866c1407c51294b91628179983f1635385 (diff)
downloaddexon-c2438797985d8bcf4a37a93b07cd42fe0c4baa9e.tar
dexon-c2438797985d8bcf4a37a93b07cd42fe0c4baa9e.tar.gz
dexon-c2438797985d8bcf4a37a93b07cd42fe0c4baa9e.tar.bz2
dexon-c2438797985d8bcf4a37a93b07cd42fe0c4baa9e.tar.lz
dexon-c2438797985d8bcf4a37a93b07cd42fe0c4baa9e.tar.xz
dexon-c2438797985d8bcf4a37a93b07cd42fe0c4baa9e.tar.zst
dexon-c2438797985d8bcf4a37a93b07cd42fe0c4baa9e.zip
vendor: use govendor to import dexon-consensus-core
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 966bf9cbb..b19c1e038 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@
GOBIN = $(shell pwd)/build/bin
GO ?= latest
-geth:
+geth: libbls
build/env.sh go run build/ci.go install ./cmd/geth
@echo "Done building."
@echo "Run \"$(GOBIN)/geth\" to launch geth."
@@ -40,6 +40,9 @@ test: all
lint: ## Run linters.
build/env.sh go run build/ci.go lint
+libbls:
+ make -C vendor/github.com/dexon-foundation/bls lib/libbls384.a
+
clean:
./build/clean_go_build_cache.sh
rm -fr build/_workspace/pkg/ $(GOBIN)/*