git.lirion.de

Of git, get, and gud

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