summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e19a81e..d4719ef 100644
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,8 @@ derived-assets = \
$(manpages) \
side-assets = \
+ tests/hero-0.sock \
+ tests/hero-1.sock \
ircd.sock \
web.sock \
@@ -67,6 +69,11 @@ all: $(derived-assets)
$(manpages): Makefile deps.mk
+rm-sock-files:
+ rm -f tests/hero-0.sock tests/hero-1.sock
+
+tests/js/hero.mjs-check: rm-sock-files
+
.SUFFIXES: .mjs .mjs-check
@@ -130,11 +137,11 @@ uninstall:
run-ircd: all
rm -f ircd.sock
- ./src/papo ircd ircd.sock
+ ./src/bin.mjs ircd ircd.sock
run-web: all
rm -f web.sock
- ./src/papo web web.sock
+ ./src/bin.mjs web web.sock
## Run the web and IRC server locally.
run: all