summaryrefslogtreecommitdiff
path: root/lib/lsg/lsg.ex
blob: 25f127f081d4630bf60fbb0201c9805ec5966b8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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

  def data_path do
    Application.get_env(:lsg, :data_path)
  end

  def version do
    Application.spec(:lsg)[:vsn]
  end

end