From 8c3d84d351e08c4c6bf0a614ee06fd945c2f73d2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 8 May 2014 01:41:35 +1200 Subject: Add test for urxvt scripts --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 36293fc6..b5e48004 100644 --- a/Makefile +++ b/Makefile @@ -111,7 +111,7 @@ install-tmux : rm -f $(HOME)/.tmux.conf ln -s $(PWD)/tmux/tmux.conf $(HOME)/.tmux.conf -install-urxvt : +install-urxvt : test-urxvt mkdir -p $(HOME)/.urxvt rm -fr $(HOME)/.urxvt/clip/ext ln -s $(PWD)/urxvt/ext $(HOME)/.urxvt/ext @@ -139,7 +139,7 @@ install-x : install-i3 ln -s $(PWD)/X/xsession $(HOME)/.xsession ln -s $(PWD)/X/xsessionrc $(HOME)/.xsessionrc -test : test-sh test-bash test-bin +test : test-sh test-bash test-bin test-urxvt test-sh : @for sh in $(PWD)/sh/* $(PWD)/sh/profile.d/* ; do \ @@ -167,3 +167,9 @@ test-bin : done @echo "All shell scripts in bin parsed successfully." +test-urxvt: + @for perl in $(PWD)/urxvt/ext/* ; do \ + perl -c "$$perl" >/dev/null || exit 1 ; \ + done + @echo "All Perl scripts in urxvt/ext parsed successfully." + -- cgit v1.2.3