Skip to content

Commit

Permalink
Add preferred_cli_env to save time/typing
Browse files Browse the repository at this point in the history
  • Loading branch information
fhunleth committed May 28, 2020
1 parent d3f0fea commit cb22258
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ defmodule VintageNet.MixProject do
docs: docs(),
package: package(),
description: description(),
aliases: [compile: [&check_deps/1, "compile"]]
aliases: [compile: [&check_deps/1, "compile"]],
preferred_cli_env: %{
docs: :docs,
"hex.publish": :docs,
"hex.build": :docs,
credo: :test,
"coveralls.circle": :test
}
]
end

Expand Down Expand Up @@ -101,7 +108,7 @@ defmodule VintageNet.MixProject do
{:muontrap, "~> 0.5.1 or ~> 0.6.0"},
{:gen_state_machine, "~> 2.0.0 or ~> 2.1.0"},
{:busybox, "~> 0.1.5", optional: true},
{:credo, "~> 1.2", only: [:dev, :test], runtime: false}
{:credo, "~> 1.2", only: :test, runtime: false}
]
end

Expand Down

0 comments on commit cb22258

Please sign in to comment.