fix: use go env GOBIN for install target instead of hardcoded path
This commit is contained in:
parent
22c0fd3571
commit
f0ff001e62
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -15,7 +15,7 @@ clean:
|
|||
rm -rf bin
|
||||
|
||||
install: build
|
||||
install -m 0755 bin/ocgo $(HOME)/go/bin/ocgo
|
||||
install -m 0755 bin/ocgo $$(go env GOBIN)/ocgo
|
||||
|
||||
release:
|
||||
@[ -n "$(TAG)" ] || (echo "Usage: make release TAG=v0.1.0" && exit 1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue