]> Cypherpunks.ru repositories - nncp.git/blobdiff - common.mk
SP checks .seen existence
[nncp.git] / common.mk
index 327f8dfff34ca607685ca0e3db9e22fe4a2765bc..145e84397c3edbb4a656913382eda6dcc950d392 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -17,6 +17,7 @@ LDFLAGS = \
        -X cypherpunks.ru/nncp.DefaultLogPath=$(LOGPATH)
 
 ALL = \
+       nncp-bundle \
        nncp-call \
        nncp-caller \
        nncp-cfgenc \
@@ -24,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 \
@@ -37,6 +38,9 @@ ALL = \
 
 all: $(ALL)
 
+nncp-bundle:
+       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-bundle
+
 nncp-call:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-call
 
@@ -58,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
 
@@ -67,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
 
@@ -89,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)