Packages

Elixir package for interacting with RudderStack HTTP API

Current section

Files

Jump to
rudder mix.exs
Raw

mix.exs

defmodule Rudder.MixProject do
use Mix.Project
@source_url "https://github.com/wecounsel/rudder"
@version "0.2.0"
def project do
[
app: :rudder,
version: @version,
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
docs: docs()
]
end
def package do
[
description: "Elixir package for interacting with RudderStack HTTP API",
maintainers: ["Thomas Brewer", "Jason Soares"],
contributers: ["Thomas Brewer", "Jason Soares"],
licenses: ["MIT"],
links: %{
GitHub: @source_url
}
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :httpoison]
]
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"}
{:httpoison, "~> 1.8"},
{:jason, "~> 1.4"},
{:mock, "~> 0.3.0", only: :test},
{:ex_check, "~> 0.14.0", only: [:dev], runtime: false},
{:credo, ">= 0.0.0", only: [:dev], runtime: false},
{:dialyxir, ">= 0.0.0", only: [:dev], runtime: false},
{:doctor, ">= 0.0.0", only: [:dev], runtime: false},
{:ex_doc, ">= 0.0.0", only: [:dev], runtime: false}
]
end
defp docs do
[
extras: [
"CHANGELOG.md",
LICENSE: [title: "License"],
"README.md": [title: "Readme"]
],
main: "readme",
source_url: @source_url,
source_ref: "v#{@version}",
api_reference: false,
formatters: ["html"]
]
end
end