Skip to content

Commit

Permalink
Add formatter check in compile-check task
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwalker committed Jul 31, 2018
1 parent d38d0a5 commit 0de8442
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ defmodule Toml.MixProject do

defp aliases(_env) do
[
"compile-check": ["compile", "dialyzer --halt-exit-status"],
"compile-check": [
"compile",
"dialyzer --halt-exit-status",
"format --check-formatted --dry-run"
],
clean: ["clean", &clean/1],
bench: ["bench.decoder", "bench.lexer"],
"bench.decoder": ["run bench/bench.decoder.exs"],
Expand Down

0 comments on commit 0de8442

Please sign in to comment.