mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
Add analyze mix alias to run the same credo checks we use in CI
This commit is contained in:
parent
e3953923ac
commit
697e3db01c
1 changed files with 2 additions and 1 deletions
3
mix.exs
3
mix.exs
|
@ -214,7 +214,8 @@ defmodule Pleroma.Mixfile do
|
|||
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
|
||||
"ecto.reset": ["ecto.drop", "ecto.setup"],
|
||||
test: ["ecto.create --quiet", "ecto.migrate", "test"],
|
||||
docs: ["pleroma.docs", "docs"]
|
||||
docs: ["pleroma.docs", "docs"],
|
||||
analyze: ["credo --strict --only=warnings,todo,fixme,consistency,readability"]
|
||||
]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue