Browse Source

Make the GOPATH work visible for sublime-text plug-ins

pull/179/head
Xavier 6 years ago committed by Christopher Fremond
parent
commit
ad244a272c
  1. 1
      scripts/go.sh

1
scripts/go.sh

@ -17,6 +17,7 @@ do
PATH=$PATH:$GOPATH/bin PATH=$PATH:$GOPATH/bin
alias gobuild='CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w"' alias gobuild='CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w"'
EOF EOF
echo 'GOPATH=$HOME/go' >> $DIR/.profile
# Fix rights # Fix rights
USR=$(echo "$DIR" | rev | cut -d/ -f1 | rev) USR=$(echo "$DIR" | rev | cut -d/ -f1 | rev)

Loading…
Cancel
Save