defmodule Cnum.MixProject do use Mix.Project def project do [ app: :cnum, version: "0.1.0", elixir: "~> 1.8", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), ] end # Run "mix help compile.app" to learn about applications. def application do [ mod: {Cnum.Application, []}, extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:ex_doc, "~> 0.19", 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 """ Library for categorizing and validating credit card numbers. """ end defp package do [ name: "cnum", files: ["lib", "mix.exs", "README*"], maintainers: ["Lina Xiao"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/nlogx"} ] end end