mix.exs 839 B

123456789101112131415161718192021222324252627282930313233
  1. defmodule EMQXAuthPostgreSQL.MixProject do
  2. use Mix.Project
  3. alias EMQXUmbrella.MixProject, as: UMP
  4. def project do
  5. [
  6. app: :emqx_auth_postgresql,
  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_auth_postgresql_app, []}]
  22. end
  23. def deps() do
  24. [
  25. {:emqx, in_umbrella: true},
  26. {:emqx_auth, in_umbrella: true},
  27. {:emqx_postgresql, in_umbrella: true},
  28. ]
  29. end
  30. end