projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e395392
)
Add analyze mix alias to run the same credo checks we use in CI
author
Mark Felder
<feld@FreeBSD.org>
Tue, 4 Aug 2020 13:55:40 +0000
(08:55 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Tue, 4 Aug 2020 13:55:40 +0000
(08:55 -0500)
mix.exs
patch
|
blob
|
history
diff --git
a/mix.exs
b/mix.exs
index 0e723c15f28542d2f171ae567b22a9a4873c57ec..63142dee768c8891c4f3501675069e89b6409cf8 100644
(file)
--- a/
mix.exs
+++ b/
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