Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Wechat.Mixfile do
use Mix.Project
def project do
[
app: :wechat,
version: "0.0.2",
elixir: "~> 1.5",
elixirc_options: [warnings_as_errors: true],
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
description: description(),
package: package(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
vcr: :test, "vcr.delete": :test, "vcr.check": :test, "vcr.show": :test,
coveralls: :test
]
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
# Specify extra applications you'll use from Erlang/Elixir
[
extra_applications: [:logger],
mod: {Wechat.Application, []}
]
end
# Dependencies can be Hex packages:
#
# {:my_dep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:httpoison, "~> 0.13"},
{:jason, "~> 1.0"},
{:sweet_xml, "~> 0.6.5"},
{:secure_random, "~> 0.5"},
{:plug, "~> 1.0", optional: true},
{:exvcr, "~> 0.8", only: :test},
{:excoveralls, "~> 0.7", only: :test},
{:ex_doc, ">= 0.0.0", only: [:dev, :docs]},
{:inch_ex, ">= 0.0.0", only: :docs}
]
end
defp description do
"""
Wechat API wrapper in Elixir.
"""
end
defp package do
[
name: :wechat_cc,
licenses: ["MIT"],
maintainers: ["onionch"],
links: %{"Github" => "https://github.com/onionch/wechat_elixir"}
]
end
end