git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/aux/git-checkers/.readmegen-suse
diff options
context:
space:
mode:
Diffstat (limited to 'aux/git-checkers/.readmegen-suse')
-rwxr-xr-xaux/git-checkers/.readmegen-suse14
1 files changed, 14 insertions, 0 deletions
diff --git a/aux/git-checkers/.readmegen-suse b/aux/git-checkers/.readmegen-suse
new file mode 100755
index 0000000..06af767
--- /dev/null
+++ b/aux/git-checkers/.readmegen-suse
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+. /lib/lsb/init-functions
+rc_reset
+echo -n "Generating Readme.md"
+cat .readme.md-head>README.md
+[ "$?" -ne 0 ]&&(false;rc_status -v)&&exit 1
+# @echo '```'>>README.md
+tree -f "$(pwd)" >> README.md
+[ "$?" -ne 0 ]&&(false;rc_status -v)&&exit 1
+./urlinjector README.md
+[ "$?" -ne 0 ]&&(false;rc_status -v)&&exit 1
+# @echo '```'>>README.md
+rc_status -v&&exit 0