Browse Source

should err on lack of vet/fmt now

pull/3/head
Jeffrey Paul 7 months ago
parent
commit
1b15abb7f7
3 changed files with 3 additions and 1 deletions
  1. +1
    -0
      .gitignore
  2. +1
    -1
      Makefile
  3. +1
    -0
      cmd/sco/main.go

+ 1
- 0
.gitignore View File

@@ -1 +1,2 @@
sco
.DS_Store

+ 1
- 1
Makefile View File

@@ -44,7 +44,7 @@ go-get:

vet:
go vet ./...
bash -c 'test -z "$$(gofmt .)"'
bash -c 'test -z "$$(gofmt -l .)"'

./$(FN): */*.go cmd/*/*.go go-get vet
cd cmd/$(FN) && go build -o ../../$(FN) $(GOFLAGS) .

+ 1
- 0
cmd/sco/main.go View File

@@ -8,6 +8,7 @@ import (

var Version string
var Commit string

var Buildarch string

func main() {

Loading…
Cancel
Save