summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile5
-rw-r--r--doc/libs.md2
3 files changed, 6 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index ef2d82e..5b2239e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ bin/
doc/.obsidian/
.hugo_build.lock
public/
+tmp/
diff --git a/Makefile b/Makefile
index 7da056a..acd4c49 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
CMD = $(wildcard back/cmd/*)
BIN = $(addprefix bin/, $(notdir ${CMD}))
+SRC = $(shell find back -name '*.go')
all: doc public ${BIN}
@@ -9,10 +10,12 @@ public:
${BIN}: bin/%: back/cmd/%
go build -o $@ ./$<
+${BIN}: ${SRC}
+
doc: doc/arch.png
doc/arch.png: doc/arch.dot
dot -Tpng <$< >$@
clean:
- rm -rf bin public
+ rm -rf bin public tmp
diff --git a/doc/libs.md b/doc/libs.md
index 3934bf4..befbbb3 100644
--- a/doc/libs.md
+++ b/doc/libs.md
@@ -2,5 +2,5 @@
https://github.com/acaloiaro/hugo-htmx-go-template
https://github.com/docker-archive/go-p9p
-https://github.com/gorilla/websocket
+https://github.com/Harvey-OS/ninep
https://github.com/alexedwards/argon2id