diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -129,21 +129,25 @@ uninstall: run-ircd: all - ./src/bin.mjs ircd ircd.socket + rm -f papo.socket + ./main.bin papo.socket -run-wscat: all - websockify --unix-listen=wscat.socket --unix-target=ircd.socket +run-wscat: + rm -f wscat.socket + wscat wscat.socket papo.socket -run-proxy: all - lighttpd -Df tests/lighttpd.conf +run-glaze: + rm -f glaze.socket + glaze -P '/api/socket:wscat.socket' -P '*:src/static/' glaze.socket -run-binder: all - socat tcp-listen:6001,fork,reuseaddr unix:lighttpd.socket +run-binder: + binder localhost:4321 glaze.socket ## Run the IRC server locally and its helper programs. run: all - for c in ircd wscat proxy binder; do \ + for c in ircd wscat glaze binder; do \ $(MAKE) run-$$c & \ + sleep 0.1; \ done; \ wait |