defmodule ElixirUtils.MixProject do use Mix.Project def project do [ app: :elixir_utils, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, build_embedded: Mix.env() == :prod, name: "ElixirUtils", description: description(), package: package(), deps: deps(), source_url: "https://github.com/tanweerdev/elixir_utils" ] 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 [ {:ecto, "~> 3.0.0"}, {:ex_doc, "~> 0.19", only: :dev, runtime: false}, {:earmark, "~> 1.2", only: :dev} # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}, ] end defp description() do "elixir_utils provides some commonly neede elixir utils" end defp package() do [ # These are the default files included in the package files: ~w(lib .formatter.exs mix.exs README*), licenses: ["Apache 2.0"], links: %{ "GitHub" => "https://github.com/tanweerdev/elixir_utils", "Docs" => "https://hexdocs.pm/elixir_utils/" } ] end end