Packages

Mattermost adapter for the Hedwig bot framework.

Current section

Files

Jump to
Raw

mix.exs

defmodule HedwigMattermost.Mixfile do
use Mix.Project
def project do
[
app: :hedwig_mattermost,
version: "0.0.1",
elixir: "~> 1.3",
elixirc_paths: elixirc_paths(Mix.env),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
description: "Mattermost adapter for the Hedwig bot framework.",
package: package(),
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[
applications: [
:logger,
:hedwig,
:websocket_client,
:httpoison,
],
mod: {HedwigMattermost, []},
]
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
[
{:hedwig, "~> 1.0"},
{:poison, "~> 3.1"},
{:websocket_client, "~> 1.3"},
{:httpoison, "~> 0.13.0"},
# Test dependencies
{:plug, "~> 1.4", only: :test},
{:bypass, "~> 0.8.1", only: :test},
{:credo, "~> 0.8.10", only: [:dev, :test]},
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp package do
[
files: ["lib", "mix.exs", "README.md"],
maintainers: ["Troels Brødsgaard"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/trarbr/hedwig_mattermost"
},
]
end
end