Fossil
Implements the Mix.SCM behaviour to allow the usage of Fossil form within your mix.deps.
Usage
First fetch the fossil archive, needed for the mix deps commands to run.
mix archive.install hex fossil 0.1.0
Append the Mix.SCM.Fossil to the deps in your mix.exs so it can fetch code from Fossil.
defp deps do
Mix.SCM.append(Mix.SCM.Fossil)
[
#{:fossil, "~> 0.1.0"},
{:alexia, "~> 0.7.0", fossil: "https://fossil.lba.im/alexia-telegram"},
#... other deps here
]
end
Afterwards, you can use the usual mix.deps get command to fetch the dependencies
Amazing isn't it? You can now store your code in Fossil SCM!
Installation
If available in Hex, the package can be installed
by adding fossil to your list of dependencies in mix.exs:
def deps do
[
{:fossil, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/fossil.