defmodule HL7.MixProject do use Mix.Project def project do [ app: :elixir_hl7, version: String.trim(File.read!("./VERSION")), description: "An Elixir library for working with HL7 v2.x healthcare data", source_url: github_link(), package: package(), elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), docs: [ extras: ["README.md"], main: "readme" ] ] end defp github_link() do "https://github.com/HCA-Healthcare/elixir-hl7" end defp package() do [ name: "elixir_hl7", files: ~w(lib .formatter.exs mix.exs benchmark.exs README* LICENSE* VERSION*), licenses: ["Apache 2.0"], links: %{"GitHub" => github_link()}, maintainers: ["Scott Southworth", "Bryan Hunter"] ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:benchee, "~> 0.13.1", only: :dev}, {:dialyxir, "~> 1.0.0-rc.2", only: [:dev], runtime: false}, {:ex_doc, "~> 0.19", only: :dev, runtime: false}, {:junit_formatter, "~> 3.0", only: :test}, {:propcheck, "~> 1.1", only: [:test, :dev]} # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}, ] end end