Packages

API client library for any MediaWiki-based site, such as Wikipedia or Wikimedia Commons. Provides the Action API, realtime feed ingestion, and ORES scoring.

Current section

Files

Jump to
Raw

mix.exs

defmodule Elixir.MixProject do
use Mix.Project
def project do
[
app: :wiki_elixir,
version: "0.2.4",
elixir: "~> 1.9",
elixirc_paths: ~w(lib),
start_permanent: Mix.env() == :prod,
description: description(),
deps: deps(),
package: package(),
source_url: "https://gitlab.com/adamwight/wiki_elixir",
dialyzer: [
plt_add_apps: ~w(cookie gen_stage jason tesla)a,
plt_core_path: "priv/plts/"
],
docs: [
extras: ~w(CHANGELOG.md README.md),
main: "readme"
],
test_coverage: [tool: ExCoveralls]
]
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
[
{:cookie, "~> 0.0"},
{:credo, "~> 1.0", only: :test, runtime: false},
{:dialyxir, "~> 1.0", only: :test, runtime: false},
{:doctor, "~> 0.0", only: :test, runtime: false},
{:eventsource_ex, "~> 1.1"},
{:ex_doc, "~> 0.0", only: :dev, runtime: false},
{:excoveralls, "~> 0.14", only: :test},
{:gen_stage, "~> 1.0"},
{:git_hooks, "~> 0.0", only: [:dev, :test]},
{:httpoison, "~> 1.0"},
{:jason, "~> 1.0"},
{:mox, "~> 1.0", only: :test},
{:tesla, "~> 1.0"}
]
end
defp description do
"API client library for any MediaWiki-based site, such as Wikipedia or Wikimedia Commons. Provides the Action API, realtime feed ingestion, and ORES scoring."
end
defp package do
[
files: ~w(.formatter.exs lib mix.exs *.md),
name: :wiki_elixir,
maintainers: ["adamwight"],
licenses: ["GPLv3"],
links: %{"GitLab" => "https://gitlab.com/adamwight/wiki_elixir"}
]
end
end