add mix format to tests

This commit is contained in:
2022-01-22 14:54:19 -05:00
committed by oliviasculley
parent a72a4b0cbe
commit f0676a2433
2 changed files with 10 additions and 6 deletions

View File

@@ -68,7 +68,12 @@ defmodule Lokal.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