about summary refs log tree commit diff stats
path: root/build/shell/src
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-11 09:48:15 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-11 09:48:15 +0200
commit4f2b735472eb921b5edd91c502e0a47d5e4d0cd2 (patch)
tree35aed5a8f6b650431071e7447565ab6795b790a6 /build/shell/src
parentfix(cog.toml): Update to the newest state (diff)
downloadflake-templates-4f2b735472eb921b5edd91c502e0a47d5e4d0cd2.tar.gz
flake-templates-4f2b735472eb921b5edd91c502e0a47d5e4d0cd2.zip
chore(build): Update
Diffstat (limited to 'build/shell/src')
-rwxr-xr-xbuild/shell/src/main.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/build/shell/src/main.sh b/build/shell/src/main.sh
new file mode 100755
index 0000000..cf4e438
--- /dev/null
+++ b/build/shell/src/main.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env dash
+
+# shellcheck source=/dev/null
+SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH
+
+# Both are used in `version`
+# shellcheck disable=2034
+AUTHORS="%INIT_AUTHOR_NAME"
+# shellcheck disable=2034
+YEARS="%INIT_YEAR"
+
+printf "Hello World!\n\n"
+
+# Show off the library provided version function
+version
+
+# vim: ft=sh