add test target in main makefile
This commit is contained in:
@@ -5,7 +5,10 @@ all: clean build
|
||||
build: nntpchand
|
||||
|
||||
nntpchand:
|
||||
GOPATH=$(REPO) go build -v
|
||||
GOROOT=$(GOROOT) GOPATH=$(REPO) go build -v
|
||||
|
||||
test:
|
||||
GOROOT=$(GOROOT) GOPATH=$(REPO) go test ./...
|
||||
|
||||
clean:
|
||||
GOPATH=$(REPO) go clean -v
|
||||
|
@@ -4,10 +4,10 @@ package main
|
||||
|
||||
import (
|
||||
log "github.com/Sirupsen/logrus"
|
||||
"github.com/majestrate/srndv2/lib/config"
|
||||
"github.com/majestrate/srndv2/lib/nntp"
|
||||
"github.com/majestrate/srndv2/lib/store"
|
||||
"net"
|
||||
"nntpchan/lib/config"
|
||||
"nntpchan/lib/nntp"
|
||||
"nntpchan/lib/store"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
Reference in New Issue
Block a user