Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericlemoine committed Jan 23, 2024
1 parent 4ded077 commit 8907260
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8907260

Please sign in to comment.