aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-05-08 01:41:35 +1200
committerTom Ryder <tom@sanctum.geek.nz>2014-05-08 01:41:35 +1200
commit8c3d84d351e08c4c6bf0a614ee06fd945c2f73d2 (patch)
tree09489a6d5a233b60c5bbf652ed3138765ec215a1 /Makefile
parentUse gpg options dump directly in completion (diff)
downloaddotfiles-8c3d84d351e08c4c6bf0a614ee06fd945c2f73d2.tar.gz
dotfiles-8c3d84d351e08c4c6bf0a614ee06fd945c2f73d2.zip
Add test for urxvt scripts
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files 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."
+