Current section

Files

Jump to
Raw

mix.exs

defmodule MessengerBot.Mixfile do
@moduledoc false
use Mix.Project
def project do
[app: :messenger_bot,
version: "0.8.2",
elixir: "~> 1.5",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps()]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[extra_applications: [:logger, :crypto, :event_bus],
mod: {MessengerBot.Application, []}]
end
defp deps do
[
{:plug, "~> 1.4.3"},
{:poison, "~> 3.1"},
{:httpoison, "~> 0.13.0"},
{:uuid, "~> 1.1"},
{:event_bus, "~> 0.6.0"},
{:mock, "~> 0.3.0", only: [:test]},
{:credo, "~> 0.8.6", only: [:dev], runtime: false},
{:dialyxir, "~> 0.5.1", only: [:dev], runtime: false},
{:ex_doc, ">= 0.16.3", only: :dev}]
end
defp description do
"""
Facebook Messenger chatbot client
"""
end
defp package do
[name: :messenger_bot,
files: ["lib", "mix.exs", "README.md"],
maintainers: ["Mustafa Turan"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/mustafaturan/messenger_bot"}]
end
end