|
|
@ -3,15 +3,15 @@ all: build test
|
|
|
|
deps:
|
|
|
|
deps:
|
|
|
|
go get github.com/golang/lint/golint
|
|
|
|
go get github.com/golang/lint/golint
|
|
|
|
go get github.com/stretchr/testify/assert
|
|
|
|
go get github.com/stretchr/testify/assert
|
|
|
|
go get
|
|
|
|
go get -u ./...
|
|
|
|
|
|
|
|
|
|
|
|
build: deps
|
|
|
|
build: deps
|
|
|
|
go build cmd/hostess/hostess.go
|
|
|
|
go build cmd/hostess/hostess.go
|
|
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
test:
|
|
|
|
go test -coverprofile=coverage.out; go tool cover -html=coverage.out -o coverage.html
|
|
|
|
go test -coverprofile=coverage.out; go tool cover -html=coverage.out -o coverage.html
|
|
|
|
go vet
|
|
|
|
go vet ./...
|
|
|
|
golint
|
|
|
|
golint ./...
|
|
|
|
|
|
|
|
|
|
|
|
gox:
|
|
|
|
gox:
|
|
|
|
go get github.com/mitchellh/gox
|
|
|
|
go get github.com/mitchellh/gox
|
|
|
|