Packages
extwitter
0.14.0
0.14.0
0.13.1
0.13.0
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.0
0.10.0
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.3
0.7.2
0.7.1
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.0
0.2.1
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Twitter client library for Elixir.
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule ExTwitter.Mixfile do
use Mix.Project
@source_url "https://github.com/parroty/extwitter"
@version "0.14.0"
def project do
[
app: :extwitter,
version: @version,
elixir: ">= 1.9.0",
deps: deps(),
docs: docs(),
package: package(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env:
cli_env_for(:test, [
"coveralls",
"coveralls.detail",
"coveralls.post",
"vcr",
"vcr.delete",
"vcr.check",
"vcr.show"
]),
]
end
defp cli_env_for(env, tasks) do
Enum.reduce(tasks, [], fn key, acc -> Keyword.put(acc, :"#{key}", env) end)
end
def application do
[
mod: {ExTwitter, []},
applications: [:inets, :ssl, :crypto, :logger, :oauther]
]
end
def deps do
[
{:oauther, "~> 1.3"},
{:jason, "~> 1.1"},
{:exvcr, "~> 0.8", only: :test},
{:excoveralls, "~> 0.14", only: :test},
{:meck, "~> 0.8.13", only: [:dev, :test]},
{:mock, "~> 0.2", only: [:dev, :test]},
{:ex_doc, ">= 0.0.0", only: [:dev, :docs], runtime: false},
{:inch_ex, "~> 2.0", only: :docs},
{:benchfella, "~> 0.3.3", only: :dev}
]
end
defp docs do
[
extras: [
"CHANGELOG.md": [],
"LICENSE.md": [title: "License"],
"README.md": [title: "Overview"]
],
main: "readme",
source_url: @source_url,
source_ref: "v#{@version}",
formatters: ["html"]
]
end
defp package do
[
description: "Twitter client library for Elixir.",
maintainers: ["parroty"],
licenses: ["MIT"],
links: %{
"Changelog" => "https://hexdocs.pm/extwitter/changelog.html",
"GitHub" => @source_url
}
]
end
end