defmodule Ral.MixProject do use Mix.Project def project do [ app: :ral, version: "0.1.1", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), name: "Ral", description: "Rate limiting tool.", source_url: "https://github.com/WincerChan/Ral", package: package(), docs: docs() ] end def docs do [ extras: ["README.md"], groups_for_modules: [ "Data Types": [ Ral.Cell, Ral.CMD ] ] ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger], mod: {Ral.Application, []} ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:ex_doc, "~> 0.20", only: :docs, runtime: false} # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} ] end defp package do [ maintainers: ["WincerChan"], licenses: ["GPL-3.0"], links: %{"Github" => "https://github.com/WincerChan/Ral"}, files: [ "lib", "mix.exs", "README*", "LICENSE*", "config", ".formatter.exs" ] ] end end