diff --git a/config/config.exs b/config/config.exs index 755ac21..597a779 100644 --- a/config/config.exs +++ b/config/config.exs @@ -28,8 +28,6 @@ config :nerves_runtime, config :nerves_time_zones, default_time_zone: "Asia/Tokyo" -config :nerves_motd, fortune: true - if Mix.env() == :test do config :nerves_motd, runtime_mod: NervesMOTD.MockRuntime config :elixir, ansi_enabled: false diff --git a/mix.exs b/mix.exs index aaa5668..a057f10 100644 --- a/mix.exs +++ b/mix.exs @@ -14,7 +14,6 @@ defmodule NervesMOTD.MixProject do description: description(), package: package(), deps: deps(), - compilers: compilers(Mix.env()), dialyzer: dialyzer(), preferred_cli_env: %{ docs: :docs, @@ -31,9 +30,6 @@ defmodule NervesMOTD.MixProject do defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] - defp compilers(env) when env in [:dev, :test], do: Mix.compilers() ++ [:fortune_compiler] - defp compilers(_), do: Mix.compilers() - defp deps do [ {:nerves_runtime, "~> 0.8"},