defmodule Ami.Mixfile do use Mix.Project def project do [ app: :ami, version: "0.1.4", elixir: ">= 1.6.0", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), name: "ami_models" ] end # Configuration for the OTP application. # # Type `mix help compile.app` for more information. def application do [ mod: {Ami.Application, []}, # extra_applications: [ # :runtime_tools, # :ex_aws, # :hackney, # :poison, # :arc, # :arc_ecto, # :scrivener_ecto, # :ex_aws_s3, # :parse_trans # ], # included_applications: [:sweet_xml] ] end # Specifies which paths to compile per environment. # defp elixirc_paths(:test), do: ["lib", "test/support"] # defp elixirc_paths(_), do: ["lib"] # Specifies your project dependencies. # # Type `mix help deps` for examples and options. defp deps do [ {:postgrex, ">= 0.0.0"}, {:ecto, "~> 2.1"}, {:gettext, "~> 0.11"}, {:scrivener_ecto, "~> 1.0"}, {:plug_cowboy, "~> 1.0"}, {:timex, "~> 3.0"}, {:ex_aws, "~> 2.0"}, {:ex_aws_s3, "~> 2.0"}, {:hackney, "~> 1.9"}, {:sweet_xml, "~> 0.6"}, {:poison, "~> 3.1"}, {:arc, "~> 0.10.0"}, {:arc_ecto, "~> 0.10.0"}, {:parse_trans, "~> 3.2.0"}, {:ex_doc, "~> 0.14", only: :dev, runtime: false} ] end defp description() do "Package containing all AMI Models shared between micro-services." end defp package() do [ licenses: ["Apache-2.0"], maintainers: ["Gilles Mathurin", "Sadan Maasroor"], links: %{"Bitbucket" => "https://bitbucket.org/africanmanagers/amihex/src/master/"} ] end # Aliases are shortcuts or tasks specific to the current project. # For example, to create, migrate and run the seeds file at once: # # $ mix ecto.setup # # See the documentation for `Mix` for more info on aliases. # defp aliases do # [ # "ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"], # "ecto.reset": ["ecto.drop", "ecto.setup"], # test: ["ecto.create --quiet", "ecto.migrate", "test"] # ] # end end