No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mix.exs 991B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. defmodule IndieMark.Scanner.MixProject do
  2. use Mix.Project
  3. def project do
  4. [
  5. app: :indiemarkscanner,
  6. aliases: aliases(),
  7. version: "0.0.1",
  8. elixir: "~> 1.6",
  9. start_permanent: Mix.env() == :prod,
  10. deps: deps(Mix.env()),
  11. elixirc_paths: elixirc_paths(Mix.env()),
  12. preferred_cli_env: [
  13. test: :test
  14. ]
  15. ]
  16. end
  17. def application() do
  18. [
  19. mod: {IndieMark.Scanner.Application, []},
  20. extra_applications: [
  21. :logger,
  22. :dns
  23. ]
  24. ]
  25. end
  26. defp elixirc_paths(:test), do: ["test", "lib"]
  27. defp elixirc_paths(_), do: ["lib"]
  28. defp deps(_env) do
  29. [
  30. {:apex, "~> 1.2.0", only: [:dev, :test]},
  31. {:exsync, "~> 0.2", only: [:dev]},
  32. {:httpoison, "~> 1.2.0"},
  33. {:maru, "~> 0.12.0"},
  34. {:poison, "~> 3.0.0"},
  35. {:dns, "~> 2.1.0"},
  36. {:floki, "~> 0.20.3"},
  37. {:corsica, "~> 1.1"}
  38. ]
  39. end
  40. defp aliases() do
  41. [
  42. start: ["run --no-halt"]
  43. ]
  44. end
  45. end