Current section

Files

Jump to
ex_wechat mix.exs
Raw

mix.exs

defmodule ExWechat.Mixfile do
use Mix.Project
@version "0.1.1"
def project do
[
app: :ex_wechat,
version: @version,
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps(),
docs: [extras: ["README.md"], main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/h1u2i3/ex_wechat"]
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger, :httpoison, :floki]]
end
defp description do
"""
A Phoenix/Elixir Wechat Api.
"""
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:ex_doc, github: "elixir-lang/ex_doc", only: :dev},
{:httpoison, "~> 0.9.0"},
{:poison, "~> 2.0"},
{:plug, "~> 1.2.2"},
{:floki, "~> 0.11.0"}
]
end
defp package do
[
name: :ex_wechat,
maintainers: ["h1u2i3"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/h1u2i3/ex_wechat"}
]
end
end