Create .gopath
file for $PATH detection
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7bb350a996
commit
143327d660
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,9 @@ export GOPATH="${HOME}/gocode"
|
||||||
rm -rf ${GOPATH}
|
rm -rf ${GOPATH}
|
||||||
mkdir -p ${GOPATH}
|
mkdir -p ${GOPATH}
|
||||||
|
|
||||||
|
# Create `.gopath` file for $PATH detection
|
||||||
|
touch ${GOPATH}/.gopath
|
||||||
|
|
||||||
# Re-Install gocode
|
# Re-Install gocode
|
||||||
go get -u github.com/nsf/gocode
|
go get -u github.com/nsf/gocode
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue