summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-10-06 10:55:50 +0300
committerPaul Buetow <paul@buetow.org>2021-10-06 10:55:50 +0300
commit7306afe9ab073c424ddca0ddc57950f237948118 (patch)
tree063c7181425f0657ec97e415c0224d311bafe6c5 /Makefile
parentfab5dc3e70434ea0abc7a0976487a1973b662331 (diff)
move health check to separate client binary
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ec3e756..4b50733 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
GO ?= go
all: build test
-build: dserver dcat dgrep dmap dtail
+build: dserver dcat dgrep dmap dtail dtailhealthcheck
dserver:
ifndef USE_ACL
${GO} build ${GO_FLAGS} -o dserver ./cmd/dserver/main.go
@@ -15,6 +15,8 @@ dmap:
${GO} build ${GO_FLAGS} -o dmap ./cmd/dmap/main.go
dtail:
${GO} build ${GO_FLAGS} -o dtail ./cmd/dtail/main.go
+dtailhealthcheck:
+ ${GO} build ${GO_FLAGS} -o dtailhealthcheck ./cmd/dtailhealthcheck/main.go
install:
ifndef USE_ACL
${GO} install ./cmd/dserver/main.go
@@ -25,6 +27,7 @@ endif
${GO} install ./cmd/dgrep/main.go
${GO} install ./cmd/dmap/main.go
${GO} install ./cmd/dtail/main.go
+ ${GO} install ./cmd/dtailhealthcheck/main.go
clean:
ls ./cmd/ | while read cmd; do \
test -f $$cmd && rm $$cmd; \