add mix format to tests
This commit is contained in:
parent
1ab3855bc3
commit
421badbb90
7
mix.exs
7
mix.exs
@ -69,7 +69,12 @@ defmodule Cannery.MixProject do
|
|||||||
setup: ["deps.get", "compile", "ecto.setup", "cmd npm install --prefix assets"],
|
setup: ["deps.get", "compile", "ecto.setup", "cmd npm install --prefix assets"],
|
||||||
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
|
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
|
||||||
"ecto.reset": ["ecto.drop", "ecto.setup"],
|
"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
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user