diff options
author | EuAndreh <eu@euandre.org> | 2024-03-28 10:32:06 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-03-28 10:32:06 -0300 |
commit | fb161c790d0c3a0004a6e4fc865b04baf1501cc3 (patch) | |
tree | 0c8234d75ecc9ddea086d5d6c0a8fc031ae5d2e9 | |
parent | Adapt build and installation (diff) | |
download | papod-fb161c790d0c3a0004a6e4fc865b04baf1501cc3.tar.gz papod-fb161c790d0c3a0004a6e4fc865b04baf1501cc3.tar.xz |
Makefile: Adapt "run-*" virtual targets
-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 |