From 7371958923c9c3257d9ffd54fdc091e8539d994d Mon Sep 17 00:00:00 2001 From: Robin Zhong Date: Thu, 14 Sep 2017 21:59:18 +0800 Subject: [PATCH] guideline: add makefile based guideline. --- develop.md | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/develop.md b/develop.md index a99073680..0977143c6 100644 --- a/develop.md +++ b/develop.md @@ -1,22 +1,16 @@ # Develop guideline -## 1. Install Dep +## Prerequisites -[Dep](https://github.com/golang/dep) is official dependency management tool create by Golang team. +Go https://golang.org >= 1.9 +Dep https://github.com/golang/dep >= 0.3.0 -## 2. Download dependency modules +## Building the source -At the root directory of go-nebulas, run the following command: - -``` -dep ensure ``` +// install dependencies. +make dep -## 3. Build client - -Go to neb directory, run the following command: - -``` -go build +// build +make build ``` -