Current section
Files
Jump to
Current section
Files
ifttt_webhook
mix.exs
mix.exs
defmodule IftttWebhook.Mixfile do
use Mix.Project
def project do
[
app: :ifttt_webhook,
version: "0.1.0",
elixir: "~> 1.5",
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps(),
name: "IFTTT Webhooks",
source_url: "https://github.com/domnikl/ifttt_webhook",
docs: [main: "README", extras: ["README.md"]]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {IftttWebhook, [api_key: Application.get_env(:ifttt_webhook, :api_key, "")]},
extra_applications: [:logger, :httpotion]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:httpotion, "~> 3.0.2"},
{:poison, "~> 3.1"},
{:ex_doc, "~> 0.16", only: [:dev, :test, :docs]}
]
end
defp description() do
"an Elixir client library for IFTTT's Webhooks"
end
defp package() do
[
name: "ifttt_webhook",
files: ["lib", "mix.exs", "README*"],
maintainers: ["Dominik Liebler"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/domnikl/ifttt_webhook"}
]
end
end