dialyxir.ex (679B)
1 defmodule Dialyxir do 2 @moduledoc false 3 use Application 4 alias Dialyxir.Output 5 6 def start(_, _) do 7 Output.info(""" 8 Warning: the `dialyxir` application's start function was called, which likely means you 9 did not add the dependency with the `runtime: false` flag. This is not recommended because 10 it will mean that unnecessary applications are started, and unnecessary applications are most 11 likely being added to your PLT file, increasing build time. 12 Please add `runtime: false` in your `mix.exs` dependency section e.g.: 13 {:dialyxir, "~> 0.5", only: [:dev], runtime: false} 14 """) 15 16 Supervisor.start_link([], strategy: :one_for_one) 17 end 18 end