Skip to content

Commit

Permalink
Add dialyxir to children apps
Browse files Browse the repository at this point in the history
  • Loading branch information
yurikoval committed Jul 4, 2023
1 parent f2f75d6 commit fae7ceb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion apps/examples/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ defmodule Examples.MixProject do
defp deps do
[
{:tai, in_umbrella: true},
{:libcluster, "~> 3.2"}
{:libcluster, "~> 3.2"},

{:dialyxir, "~> 1.3", only: [:dev, :test], runtime: false} # TODO: remove after dialyzer umbprella support is added
]
end

Expand Down
4 changes: 3 additions & 1 deletion apps/tai/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ defmodule Tai.Mixfile do
{:logger_file_backend_with_formatters_stackdriver, "~> 0.0.4", only: [:dev, :test]},
{:echo_boy, "~> 0.6", runtime: false, optional: true},
{:mock, "~> 0.3", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev}
{:ex_doc, ">= 0.0.0", only: :dev},

{:dialyxir, "~> 1.3", only: [:dev, :test], runtime: false} # TODO: remove after dialyzer umbrella support is added
]
end

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ defmodule TaiMonorepo.MixProject do
[
{:excoveralls, "~> 0.8", only: :test},
{:ex_unit_notifier, "~> 1.0", only: :test},
{:dialyxir, "~> 1.3", only: :dev, runtime: false},
{:dialyxir, "~> 1.3", only: [:dev, :test], runtime: false},
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
{:licensir, "~> 0.6", only: :dev, runtime: false}
]
Expand Down

0 comments on commit fae7ceb

Please sign in to comment.