mix test
Coverage report: mix coveralls.html
.
Pretty information outputted into cover/excoveralls.html
- Install dependencies with
mix deps.get
- Create a GitHub, Twitter and Discord OAuth application and paste credentials in
.envrc
- Compile and build kousa
mix do compile, release
- Run kousa
_build/dev/rel/kousa/bin/kousa start
mix format
mix credo --strict
General Elixir conventions:
- A function that ends in
!
can crash on documented error conditions. is_...
should only be used for guards; most boolean functions should be...?
functionsfetch...
should return{:ok, value}
or:error
fetch...!
should returnvalue
or crash if not presentget...
should returnvalue
ornil
snake_case
not camelCase