-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ded077
commit 8907260
Showing
1 changed file
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,22 +114,24 @@ conda install -c bioconda gotree | |
``` | ||
|
||
### From sources | ||
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$). | ||
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$). | ||
|
||
Then you just have to type : | ||
``` | ||
go get github.com/evolbioinfo/gotree/ | ||
git clone [email protected]:evolbioinfo/gotree.git | ||
cd gotree | ||
make && make install | ||
# or go get . && go build . | ||
# or go get . && go install . | ||
``` | ||
This will download Gotree sources from github. | ||
|
||
You can then build it with: | ||
The `gotree` executable should be located in the current folder (or the `$GOPATH/bin`). | ||
|
||
To test the executable: | ||
``` | ||
cd $GOPATH/src/github.com/evolbioinfo/gotree/ | ||
make && make install | ||
./test.sh | ||
``` | ||
|
||
The `gotree` executable should be located in the `$GOPATH/bin` folder. | ||
|
||
## Auto completion | ||
|
||
gotree uses [cobra](https://github.com/spf13/cobra), and therefore proposes a command to generate auto completion scripts: | ||
|