mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-11-28 07:21:21 +08:00
README.md: rework building section
This commit is contained in:
parent
fa8981fbf6
commit
49792bad18
23
README.md
23
README.md
|
@ -17,8 +17,27 @@ Tab completion:
|
|||
|
||||
## Building
|
||||
|
||||
You need go >= 1.2 to build this. Just run `make`. The resulting binary is
|
||||
called `das`.
|
||||
Go >= 1.1.1 is required. This repository is a go-getable package.
|
||||
|
||||
In case you are new to Go, you are advised to read [How To Write Go
|
||||
Code](http://golang.org/doc/code.html), but here is a quick snippet:
|
||||
|
||||
```
|
||||
mkdir ~/go
|
||||
export GOPATH=$HOME/go
|
||||
export PATH=$PATH:$GOPATH/bin
|
||||
go get github.com/xiaq/das
|
||||
das
|
||||
```
|
||||
|
||||
To update and rebuild:
|
||||
|
||||
```
|
||||
go get -u github.com/xiaq/das
|
||||
```
|
||||
|
||||
Remember to put the two `export`s above into your `bashrc` or `zshrc` (or
|
||||
whatever).
|
||||
|
||||
## The Editor
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user