Skip to content

Commit

Permalink
README.md - all.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed Oct 9, 2021
1 parent 684c677 commit ee305e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,11 @@ See https://github.com/goplus/gop/tree/main/tutorial

```bash
git clone [email protected]:goplus/gop.git
cd gop/cmd
go install -v ./... # build all Go+ tools
cd ..
gop install -v ./... # build all Go+ tutorials
cd gop
./all.bash
```


## Go+ features

### Bytecode vs. Go code
Expand Down
3 changes: 2 additions & 1 deletion all.bash
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
cd cmd
go install -v ./...
go install -v ./... # build all Go+ tools
cd ..
goproot=`pwd`
if [ ! -e "$HOME/gop" ]; then
if [ "$goproot" != "$HOME/gop" ]; then
ln -s $goproot $HOME/gop
fi
fi
gop install ./... # build all Go+ tutorials

0 comments on commit ee305e3

Please sign in to comment.