On second thought, makefile turns out to be a poor fit for golang.
This commit is contained in:
parent
3bbffa9325
commit
61fe5208e6
2 changed files with 5 additions and 30 deletions
10
readme.md
10
readme.md
|
@ -67,15 +67,15 @@ cd joyful
|
|||
Then, to build and install, run:
|
||||
|
||||
```
|
||||
make
|
||||
make install
|
||||
go build -o build/ ./...
|
||||
cp build/* ~/bin/
|
||||
```
|
||||
|
||||
By default this will install into `~/bin`. If you want to install Joyful system-wide, you can instead do:
|
||||
If you want to install Joyful system-wide, you can instead do:
|
||||
|
||||
```
|
||||
make
|
||||
sudo make PREFIX=/usr/local install
|
||||
go build -o build/ ./...
|
||||
sudo cp build/* /usr/local/bin/
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue