From: Mark Felder Date: Tue, 4 Aug 2020 13:55:40 +0000 (-0500) Subject: Add analyze mix alias to run the same credo checks we use in CI X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=697e3db01c0a1ee1e18fe25946a4ef56527828e7;p=akkoma Add analyze mix alias to run the same credo checks we use in CI --- diff --git a/mix.exs b/mix.exs index 0e723c15f..63142dee7 100644 --- 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