build(test): now auto connect with irssi
This commit is contained in:
parent
eb56b111b1
commit
535365e3e3
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -6,7 +6,7 @@
|
||||||
# By: omoudni <omoudni@student.42paris.fr> +#+ +:+ +#+ #
|
# By: omoudni <omoudni@student.42paris.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2025/05/02 15:40:00 by rparodi #+# #+# #
|
# Created: 2025/05/02 15:40:00 by rparodi #+# #+# #
|
||||||
# Updated: 2025/05/19 20:14:35 by omoudni ### ########.fr #
|
# Updated: 2025/05/20 15:04:42 by rparodi ### ########.fr #
|
||||||
# #
|
# #
|
||||||
#******************************************************************************#
|
#******************************************************************************#
|
||||||
|
|
||||||
|
|
@ -91,7 +91,7 @@ test: debug
|
||||||
@tmux new-session -d -s $(SESSION) \
|
@tmux new-session -d -s $(SESSION) \
|
||||||
'bash -lc "./$(NAME) 4243 irc; exec bash"'
|
'bash -lc "./$(NAME) 4243 irc; exec bash"'
|
||||||
@tmux split-window -h -p 70 -t $(SESSION):0 \
|
@tmux split-window -h -p 70 -t $(SESSION):0 \
|
||||||
'bash -lc "irssi 4243 irc || exec yes \"irssi exit code: $?\""'
|
'bash -lc "irssi -c localhost -p 4243 -w irc || exec yes \"irssi exit code: $?\""'
|
||||||
@tmux split-window -v -p 50 -t $(SESSION):0.1 \
|
@tmux split-window -v -p 50 -t $(SESSION):0.1 \
|
||||||
'bash -lc "nc localhost 4243 || exec yes \"netcat exit code: $?\""'
|
'bash -lc "nc localhost 4243 || exec yes \"netcat exit code: $?\""'
|
||||||
@tmux attach -t $(SESSION)
|
@tmux attach -t $(SESSION)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue