diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-01 09:32:16 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-01 09:33:43 +1300 |
commit | e4a625c8526e26d8e7cbb9521c6f3b6e88a27475 (patch) | |
tree | ef35c22c298fb51e3bcc6e6cfb6c8b51a5421ec4 /bin | |
parent | Merge branch 'feature/vim-syn-lint' into develop (diff) | |
download | dotfiles-e4a625c8526e26d8e7cbb9521c6f3b6e88a27475.tar.gz dotfiles-e4a625c8526e26d8e7cbb9521c6f3b6e88a27475.zip |
Add dfv(1df) version-printing tool
This is mostly just for fun, but could be handy later on when I'm
playing with distributed or automated deployments of tagged and verified
releases.
Like a few of the other shell scripts, this is built by abusing my
mi5(1df) wrapper to get static details baked into the shell script that
are only known at runtime.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/dfv.mi5 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/dfv.mi5 b/bin/dfv.mi5 new file mode 100644 index 00000000..02f1721d --- /dev/null +++ b/bin/dfv.mi5 @@ -0,0 +1,8 @@ +# Print dotfiles version information +cat <<'EOF' +<% + include(VERSION) + syscmd(`printf "Built on %s by %s@%s\n" "$(date)" "$(id -nu)" "$(uname -n)"') +%> +The next 1<<10 years are ours! +EOF |