Current section
Files
Jump to
Current section
Files
ex_microsoftbot
mix.exs
mix.exs
defmodule ExMicrosoftbot.Mixfile do
use Mix.Project
def project do
[app: :ex_microsoftbot,
version: "1.0.0",
elixir: "~> 1.3.2",
description: description,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
package: package,
deps: deps]
end
def description do
"This library provides Elixir API wrapper for the Microsoft Bot Framework."
end
defp package do
[
licenses: ["MIT License"],
maintainers: ["Zohaib Rauf"],
links: %{
"Github" => "https://github.com/zabirauf/ex_microsoftbot",
"Docs" => "https://hexdocs.pm/ex_microsoftbot/"
}
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[mod: {ExMicrosoftBot, []},
env: [endpoint: "https://api.botframework.com",
openid_valid_keys_url: "https://api.aps.skype.com/v1/.well-known/openidconfiguration",
issuer_claim: "https://api.botframework.com",
audience_claim: Application.get_env(:ex_microsoftbot, :app_id),
disable_token_validation: false],
registered: [ExMicrosoftBot.TokenManager, ExMicrosoftBot.SigningKeysManager],
applications: [:logger, :httpotion, :tzdata, :timex]]
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
[
{:httpotion, "~> 3.0.0"},
{:poison, "~> 2.1"},
{:jose, "~> 1.7"},
{:timex, "~> 3.0"},
{:tzdata, "~> 0.5.8"},
{:inch_ex, ">= 0.0.0", only: :docs},
{:dialyxir, "~> 0.3", only: [:dev]},
{:ex_doc, "~> 0.11.5", only: [:dev]}
]
end
end