add mix format to tests

This commit is contained in:
shibao 2022-01-22 15:19:19 -05:00
parent 1ab3855bc3
commit 421badbb90

View File

@ -69,7 +69,12 @@ defmodule Cannery.MixProject do
setup: ["deps.get", "compile", "ecto.setup", "cmd npm install --prefix assets"],
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
"ecto.reset": ["ecto.drop", "ecto.setup"],
test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"]
test: [
"format --check-formatted",
"ecto.create --quiet",
"ecto.migrate --quiet",
"test"
]
]
end
end