# 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.
```bash
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.
```elixir
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](https://hex.pm/docs/publish), the package can be installed
by adding `fossil` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:fossil, "~> 0.1.0"}
]
end
```
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/fossil](https://hexdocs.pm/fossil).