Go doesn't persist generated binaries when building multiple packages
without the -o flag.
---
.gitignore | 1 +
Makefile | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 885b688..1067067 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
/soju
/sojuctl
+/sojudb
/soju.db
/doc/soju.1
diff --git a/Makefile b/Makefile
index 1ec591b..9ae475e 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ goflags := $(GOFLAGS) -ldflags=" \
all: soju sojudb sojuctl doc/soju.1
soju:
- $(GO) build $(goflags) ./cmd/soju ./cmd/sojudb ./cmd/sojuctl
+ $(GO) build -o . $(goflags) ./cmd/soju ./cmd/sojudb ./cmd/sojuctl
sojudb sojuctl: soju
doc/soju.1: doc/soju.1.scd
$(SCDOC) <doc/soju.1.scd >doc/soju.1
--
2.39.1