File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ defmodule RDF.XML.MixProject do
1313 build_embedded: Mix . env ( ) == :prod ,
1414 start_permanent: Mix . env ( ) == :prod ,
1515 deps: deps ( ) ,
16+ aliases: aliases ( ) ,
1617 elixirc_paths: elixirc_paths ( Mix . env ( ) ) ,
1718
1819 # Hex
@@ -34,6 +35,7 @@ defmodule RDF.XML.MixProject do
3435 # ExCoveralls
3536 test_coverage: [ tool: ExCoveralls ] ,
3637 preferred_cli_env: [
38+ check: :test ,
3739 coveralls: :test ,
3840 "coveralls.detail": :test ,
3941 "coveralls.post": :test ,
@@ -88,6 +90,19 @@ defmodule RDF.XML.MixProject do
8890 ]
8991 end
9092
93+ defp aliases do
94+ [
95+ check: [
96+ "clean" ,
97+ "deps.unlock --check-unused" ,
98+ "compile --warnings-as-errors" ,
99+ "format --check-formatted" ,
100+ "test --warnings-as-errors" ,
101+ "credo"
102+ ]
103+ ]
104+ end
105+
91106 defp elixirc_paths ( :test ) , do: [ "lib" , "test/support" ]
92107 defp elixirc_paths ( _ ) , do: [ "lib" ]
93108end
You can’t perform that action at this time.
0 commit comments