~samwhited/xmpp

a9425fa608738196f0e899cc12ad73069de92bb8 — Sam Whited 1 year, 7 months ago e83c5c0
.builds: go back to the old way of running tools

The go.mod file keeps having its dependencies removed, or having xmpp
added as a dependency for some reason. Until modules are better
understood or less buggy, and until gosec and golint have tags, just
keep doing them last and modifying the main go.mod file.
4 files changed, 3 insertions(+), 16 deletions(-)

M .builds/freebsd.yml
D .builds/go.mod
D .builds/go.sum
D .builds/tools.go
M .builds/freebsd.yml => .builds/freebsd.yml +3 -3
@@ 22,6 22,6 @@ tasks:
      go vet ./...
      gofmt -s -l . && [ -z "$(gofmt -s -l .)" ]

      cd .builds/
      go run -tags tools golang.org/x/lint/golint ../...
      go run -tags tools github.com/securego/gosec/cmd/gosec -quiet ../...
      # This modifies go.mod, so do it last.
      go run golang.org/x/lint/golint ./...
      go run github.com/securego/gosec/cmd/gosec ./...

D .builds/go.mod => .builds/go.mod +0 -5
@@ 1,5 0,0 @@
module tools

go 1.11

replace mellium.im/xmpp => ../

D .builds/go.sum => .builds/go.sum +0 -0
D .builds/tools.go => .builds/tools.go +0 -8
@@ 1,8 0,0 @@
//+build tools

package main

import (
	_ "github.com/securego/gosec/cmd/gosec"
	_ "golang.org/x/lint/golint"
)