Skip to content

Commit 2f2acb9

Browse files
author
Li Jian
committed
update build desc
1 parent 740cc86 commit 2f2acb9

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

README.md

+14-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,25 @@ otunnel is a simple safe tunnel for peer-to-peer
44

55
## Build
66

7-
There are many method to build otunnel:
7+
simple build (RECOMMENDED):
88

99
```
10+
$ ./build-by-docker.sh
11+
```
12+
13+
others:
14+
15+
```
16+
$ go get -v github.com/ooclab/otunnel
17+
$ export GOPATH=${GOPATH:-~/go}
18+
$ cd $GOPATH/src/github.com/ooclab/otunnel
19+
20+
$ # use any of following commands to build otunnel
21+
1022
$ make # normal build
1123
$ make static # build a static program
1224
$ go build -v # the go build
13-
$ gox # cross build
14-
$ ./build-by-docker.sh # use docker to run build
25+
$ gox # simple cross build, you should install gox first!
1526
```
1627

1728
## Usage

0 commit comments

Comments
 (0)