Current section
Files
Jump to
Current section
Files
oauth2_server
mix.exs
mix.exs
defmodule Oauth2Server.Mixfile do
use Mix.Project
def project do
[app: :oauth2_server,
version: "0.0.2",
elixir: "~> 1.2",
description: "An elixir Oauth 2.0 server",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
escript: escript,
package: package,
deps: deps]
end
def escript do
[main_module: Oauth2Server]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger, :ecto]]
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
[
{:ecto, "~> 1.1.2"},
{:poison, "~> 1.5 or ~> 2.0"},
]
end
defp package do
[
maintainers: ["Kevin Baisas"],
licenses: ["MIT"],
links: %{github: "https://github.com/kevinbaisas/oauth2_server"},
files: ~w(lib mix.exs README.md)
]
end
end