This is my toolbelt project.
Useful commands:
Command | Description |
---|---|
mix deps.get |
get dependencies |
mix credo |
analyze code syntax |
mix test --trace |
run tests |
MIX_ENV=test mix coveralls.html |
test coverage |
mix docs |
generate docs |
MIX_ENV=prod mix escript.build |
generate script |
If available in Hex, the package can be installed as:
- Add
toolbelt
to your list of dependencies inmix.exs
:
def deps do
[{:toolbelt, "~> 0.1.0"}]
end
- Ensure
toolbelt
is started before your application:
def application do
[applications: [:toolbelt]]
end