mix.exs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. defmodule EMQXMachine.MixProject do
  2. use Mix.Project
  3. alias EMQXUmbrella.MixProject, as: UMP
  4. def project do
  5. [
  6. app: :emqx_machine,
  7. version: "0.1.0",
  8. build_path: "../../_build",
  9. # config_path: "../../config/config.exs",
  10. erlc_options: UMP.erlc_options(),
  11. erlc_paths: UMP.erlc_paths(),
  12. deps_path: "../../deps",
  13. lockfile: "../../mix.lock",
  14. elixir: "~> 1.14",
  15. start_permanent: Mix.env() == :prod,
  16. deps: deps()
  17. ]
  18. end
  19. # Run "mix help compile.app" to learn about applications
  20. def application do
  21. [extra_applications: UMP.extra_applications(), mod: {:emqx_machine_app, []}]
  22. end
  23. def deps() do
  24. [
  25. {:emqx, in_umbrella: true, runtime: false},
  26. {:emqx_conf, in_umbrella: true, runtime: false},
  27. {:emqx_dashboard, in_umbrella: true, runtime: false},
  28. {:emqx_management, in_umbrella: true, runtime: false},
  29. UMP.common_dep(:covertool),
  30. UMP.common_dep(:system_monitor, runtime: false),
  31. UMP.common_dep(:redbug),
  32. ]
  33. end
  34. end