Current section
Files
Jump to
Current section
Files
slack_web_api
mix.exs
mix.exs
defmodule SlackWebAPI.Mixfile do
use Mix.Project
def project do
[
app: :slack_web_api,
version: "1.2.0",
elixir: "~> 1.6",
name: "SlackWebAPI",
description: description(),
package: package(),
source_url: "https://github.com/RobotsAndPencils/slack-web-api",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps()
]
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]]
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.3.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:tesla, "~> 1.2"},
{:poison, "~> 3.0"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp description() do
"A Slack Web API client generatef from their OpenAPI specs."
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "slack_web_api",
description: description(),
# These are the default files included in the package
# files: ~w(lib priv .formatter.exs mix.exs README* readme* LICENSE*
# license* CHANGELOG* changelog* src),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/RobotsAndPencils/slack-web-api"}
]
end
end