Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Witai.MixProject do
use Mix.Project
def project do
[
app: :witai,
version: "0.1.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
env: [
http_client: HTTPoison,
token: "RSO37RX6O2NT3NCQWYF5CET4IJENJFCO"
]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:httpoison, "~> 1.6"},
{:json, "~> 1.2"},
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
]
end
defp description do
"""
Elixir library to interact with Facebook's Witai API.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Mihai Blebea"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/MihaiBlebea/witai-ex"}
]
end
end