Skip to content

Commit 8907260

Browse files
Updated README
1 parent 4ded077 commit 8907260

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -114,22 +114,24 @@ conda install -c bioconda gotree
114114
```
115115

116116
### From sources
117-
In order to build gotree, you must first [download](https://golang.org/dl/) and [install](https://golang.org/doc/install) Go on your system ($1.16.4$).
117+
To build gotree, you must first [download](https://golang.org/dl/) and [install](https://golang.org/doc/install) Go on your system ($1.21.6$).
118118

119119
Then you just have to type :
120120
```
121-
go get github.com/evolbioinfo/gotree/
121+
git clone [email protected]:evolbioinfo/gotree.git
122+
cd gotree
123+
make && make install
124+
# or go get . && go build .
125+
# or go get . && go install .
122126
```
123-
This will download Gotree sources from github.
124127

125-
You can then build it with:
128+
The `gotree` executable should be located in the current folder (or the `$GOPATH/bin`).
129+
130+
To test the executable:
126131
```
127-
cd $GOPATH/src/github.com/evolbioinfo/gotree/
128-
make && make install
132+
./test.sh
129133
```
130134

131-
The `gotree` executable should be located in the `$GOPATH/bin` folder.
132-
133135
## Auto completion
134136

135137
gotree uses [cobra](https://github.com/spf13/cobra), and therefore proposes a command to generate auto completion scripts:

0 commit comments

Comments
 (0)