diff options
author | href <href@random.sh> | 2022-12-11 12:51:27 +0000 |
---|---|---|
committer | href <href@random.sh> | 2022-12-11 12:51:27 +0000 |
commit | 5df2109a3c0e4545e46707ef15e013ce49292bbf (patch) | |
tree | d70741f0dda95e493578102898e9a163549fa733 /lib/lsg | |
parent | feat(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 'lib/lsg')
-rw-r--r-- | lib/lsg/lsg.ex | 4 |
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 |