Skip to content

Commit

Permalink
Get rid of GOPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatczuk committed Nov 9, 2020
1 parent 61ac3d1 commit bcca791
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
.history

# Doc builds ignore items
bin
docs/_build
source/.doctrees
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif
PKG := ./pkg/...

ifndef GOBIN
export GOBIN := $(GOPATH)/bin
export GOBIN := ./bin
endif
GO111MODULE := on
GOFILES = go list -f '{{range .GoFiles}}{{ $$.Dir }}/{{ . }} {{end}}{{range .TestGoFiles}}{{ $$.Dir }}/{{ . }} {{end}}' $(PKG)
Expand Down
2 changes: 1 addition & 1 deletion install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ esac
echo "==> Installing cqlsh from pip"
python2.7 -m pip install cqlsh

export GOBIN=${GOBIN:-${GOPATH}/bin}
export GOBIN=${GOBIN:-./bin}
mkdir -p ${GOBIN}

echo "==> Installing Go packages at ${GOBIN}"
Expand Down

0 comments on commit bcca791

Please sign in to comment.