Packages
Plug builder for the routing of Slack slash commands
Retired package: Deprecated - Please use slash instead
Current section
Files
Jump to
Current section
Files
slack_command
mix.exs
mix.exs
defmodule SlackCommand.Mixfile do
use Mix.Project
def project do
[app: :slack_command,
version: "0.1.0",
elixir: "~> 1.4",
name: "slack_command",
description: "Library for helping in the creation of slack slash commands",
package: package(),
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
[applications: [:plug, :cowboy],
env: [port: 8080],
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.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[{:plug, "~> 1.3"},
{:cowboy, "~> 1.1"},
{:poison, "~> 3.1"},
{:credo, "~> 0.8", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.16.2", only: :dev}]
end
defp package do
[maintainers: ["Matthew McFarland"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/vanetix/slack_command"}]
end
end