summaryrefslogtreecommitdiff
path: root/lib/lsg/lsg.ex
diff options
context:
space:
mode:
authorhref <href@random.sh>2022-12-11 12:51:27 +0000
committerhref <href@random.sh>2022-12-11 12:51:27 +0000
commit5df2109a3c0e4545e46707ef15e013ce49292bbf (patch)
treed70741f0dda95e493578102898e9a163549fa733 /lib/lsg/lsg.ex
parentfeat(telegram): replace dets by couch for room settings (diff)
chore: git url, extend version number and improve reporting
- appends `.build%y%m%d@%H%M` to version - more info & runtime version in `!version` - `LSG.source_url()` to get the git url instead of hardcodes
Diffstat (limited to '')
-rw-r--r--lib/lsg/lsg.ex4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/lsg/lsg.ex b/lib/lsg/lsg.ex
index dc0f641..25f127f 100644
--- a/lib/lsg/lsg.ex
+++ b/lib/lsg/lsg.ex
@@ -1,5 +1,9 @@
defmodule LSG do
+ def source_url() do
+ "https://git.random.sh/ircbot.git"
+ end
+
def data_path(suffix) do
Path.join(data_path(), suffix)
end