defmodule ExHasher.MixProject do use Mix.Project def project do [ app: :ex_hasher, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, build_embedded: Mix.env() == :prod, # start_permanent: Mix.env == :prod, description: description, package: package, deps: deps() ] 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 [ # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}, {:ex_doc, "~> 0.11", only: :dev}, {:earmark, "~> 0.1", only: :dev}, {:dialyxir, "~> 0.3", only: [:dev]} ] end defp description do """ An Elixir library to generate url safe random string, can be used to generate random password, transaction codes """ end defp package do [ files: ["lib", "mix.exs", "README.md"], maintainers: ["Imo INyang"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/reimo/ExHasher", "Docs" => "https://hexdocs.pm/ExHasher/"} ] end end