]> Cypherpunks.ru repositories - nncp.git/blobdiff - common.mk
Remote command execution
[nncp.git] / common.mk
index 34d6404a03ac15ac6e14eb6137639e9a148f9403..145e84397c3edbb4a656913382eda6dcc950d392 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -25,10 +25,10 @@ ALL = \
        nncp-cfgnew \
        nncp-check \
        nncp-daemon \
+       nncp-exec \
        nncp-file \
        nncp-freq \
        nncp-log \
-       nncp-mail \
        nncp-pkt \
        nncp-reass \
        nncp-rm \
@@ -62,6 +62,9 @@ nncp-check:
 nncp-daemon:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-daemon
 
+nncp-exec:
+       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-exec
+
 nncp-file:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-file
 
@@ -71,9 +74,6 @@ nncp-freq:
 nncp-log:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-log
 
-nncp-mail:
-       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-mail
-
 nncp-pkt:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-pkt
 
@@ -93,7 +93,7 @@ nncp-xfer:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-xfer
 
 test:
-       GOPATH=$(GOPATH) go test cypherpunks.ru/nncp/...
+       GOPATH=$(GOPATH) go test -failfast cypherpunks.ru/nncp/...
 
 clean:
        rm -f $(ALL)