Christoph Martin
7ffeb29915
drop 6g syntax checker
...
6g has been superseded by the go tool.
2012-10-26 12:38:14 +02:00
Christoph Martin
d3d00e4b70
use gofmt
before go [build|test]
...
`go build` might not catch syntax errors of the current file if another
file with syntax errors is compiled before the current one.
2012-10-26 12:28:04 +02:00
ghthor
96e0ce95b8
bugfix: use go test
for test files.
...
Test files are not compiled when invoking `go build`.
2012-10-26 12:23:00 +02:00
ghthor
90a4a0571d
bugfix: run go compiler from package directory
...
The compiler only works correctly if passed an import path or run from
the package directory, the latter of which is the path of least
resistance.
2012-10-26 12:16:08 +02:00
Christoph Martin
7010459585
change gofmt invocation
...
If no syntax errors are found, `gofmt -l % 1>/dev/null` prints the file
name to STDOUT, which is redirected to /dev/null. Less to parse for
syntastic!
If errors are found, they are written to STDERR.
This invocation does not alter the source code, which has been indicated
in the comments.
2012-10-26 12:00:02 +02:00
Kamil Kisiel
b1dc62076b
Added support for multi-line go errors in go.vim
2012-09-09 15:24:55 -07:00
Kamil Kisiel
16a7a87529
Build all files with go build
2012-04-11 08:19:57 -07:00
Kamil Kisiel
315e1ad9d2
support column number in go syntax checker
2012-04-01 10:12:51 -07:00
Kamil Kisiel
3cac7f39c1
go syntax checker using 'go build'
2012-03-29 07:48:52 -07:00
Martin Grenfell
3be5136585
go: add gofmt checker from #150
2012-02-11 15:40:45 +00:00