aboutsummaryrefslogtreecommitdiffstats
path: root/docs/gen/git-version
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-04-17 14:19:52 +0000
committers-ol <s-ol@users.noreply.github.com>2020-04-17 14:19:52 +0000
commit67a124f6a9b34cda21058ced323144c4f04921cb (patch)
tree626f339349b86dce772acc188ac31fc9ab488fa5 /docs/gen/git-version
parentmove extra/ to docs/gen/ and split up (diff)
downloadalive-67a124f6a9b34cda21058ced323144c4f04921cb.tar.gz
alive-67a124f6a9b34cda21058ced323144c4f04921cb.zip
mvoe rockspecs to dist/
Diffstat (limited to 'docs/gen/git-version')
-rwxr-xr-xdocs/gen/git-version25
1 files changed, 0 insertions, 25 deletions
diff --git a/docs/gen/git-version b/docs/gen/git-version
deleted file mode 100755
index 495b679..0000000
--- a/docs/gen/git-version
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-TAG=$(git describe --abbrev=0 HEAD)
-# REV_SHORT=$(git rev-parse --short HEAD)
-# REV_LONG=$(git rev-parse HEAD)
-
-cat <<EOF
-----
--- \`alive\` source code version information.
---
--- @module version
-
---- exports
--- @table exports
--- @tfield string tag the last versions git tag
--- @tfield string web the repo web URL
--- @tfield string repo the git repo URL
--- @tfield string release the web URL of this release
-{
- tag: "${TAG}"
- web: "https://github.com/s-ol/alivecoding"
- repo: "https://github.com/s-ol/alivecoding.git"
- release: "https://github.com/s-ol/alivecoding/releases/tag/${TAG}"
-}
-EOF