File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 27
27
<action id =" Get Update Network" menu =" Get" img =" blue/get.png" cmd =" $(GO)" args =" get -u -v ." save =" all" output =" true" codec =" utf-8" />
28
28
<action id =" Get Force Rebuilding" menu =" Get" img =" blue/reget.png" cmd =" $(GO)" args =" get -a -v ." save =" all" output =" true" codec =" utf-8" />
29
29
<action id =" Test" img =" blue/test.png" key = " Ctrl+T" cmd =" $(GO)" args =" test $(TESTARGS)" save =" all" output =" true" codec =" utf-8" regex =" $(ERRREGEX)" takeall =" true" navigate =" true" />
30
- <action id =" FileTest" menu =" Test" img =" blue/filetest.png" key = " Alt+T" cmd =" $(GOTOOLS)" args =" gotest -f $(EDITOR_FILE_NAME)" save =" all" output =" true" codec =" utf-8" regex =" $(ERRREGEX)" takeall =" true" navigate =" true" />
30
+ <action id =" FileTest" menu =" Test" img =" blue/filetest.png" key = " Alt+T" cmd =" $(GOTOOLS)" args =" gotest -f $(EDITOR_FILE_NAME) $(TESTARGS) " save =" all" output =" true" codec =" utf-8" regex =" $(ERRREGEX)" takeall =" true" navigate =" true" />
31
31
<action id =" TestAll" menu =" Test" img =" blue/test.png" key = " Ctrl+Alt+T" cmd =" $(GO)" args =" test $(TESTARGS) ./..." save =" all" output =" true" codec =" utf-8" regex =" $(ERRREGEX)" takeall =" true" navigate =" true" />
32
32
<action id =" TestBench" menu =" Test" img =" blue/testbench.png" cmd =" $(GO)" args =" test -test.bench=.* $(BENCHMARKARGS)" save =" all" output =" true" codec =" utf-8" regex =" $(ERRREGEX)" navigate =" true" />
33
33
<action id =" TestBuild" menu =" Test" img =" blue/buildtest.png" cmd =" $(GO)" args =" test -c -gcflags " -N -l" " save =" all" output =" true" codec =" utf-8" regex =" $(ERRREGEX)" />
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- export GOPATH=$PWD :$GOPATH
3
+ if [ -z $GOPATH ]; then
4
+ export GOPATH=$PWD
5
+ else
6
+ export GOPATH=$PWD :$GOPATH
7
+ fi
8
+
4
9
5
10
go install -ldflags " -s" -v github.com/visualfc/gotools
6
11
go install -ldflags " -s" -v github.com/nsf/gocode
You can’t perform that action at this time.
0 commit comments