aboutsummaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-31 17:49:42 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-31 17:49:42 +1200
commitcbad3d16fb358fb6042a0e91a21b15eeb90bb95c (patch)
tree3db6887e21a9dba69776d9e6b483fc57cd07e9d9 /check
parentMerge branch 'openbsd' (diff)
downloaddotfiles-cbad3d16fb358fb6042a0e91a21b15eeb90bb95c.tar.gz
dotfiles-cbad3d16fb358fb6042a0e91a21b15eeb90bb95c.zip
Add very basic Yash support
I know almost nothing about Yash yet, but reading the manual page on its startup behaviour implies a little coaxing is necessary to make it play nicely with my file layout.
Diffstat (limited to 'check')
-rwxr-xr-xcheck/yash6
1 files changed, 6 insertions, 0 deletions
diff --git a/check/yash b/check/yash
new file mode 100755
index 00000000..fb737596
--- /dev/null
+++ b/check/yash
@@ -0,0 +1,6 @@
+#!/bin/sh
+for yash in yash/* ; do
+ [ -f "$yash" ] || continue
+ yash -n "$yash" || exit
+done
+printf 'All yash scripts parsed successfully.\n'