Packages

Elixir bindings for the Juspay Express Checkout API's

Current section

Files

Jump to
Raw

mix.exs

defmodule ElixirTest.Mixfile do
use Mix.Project
def project do
[app: :juspay_api_library,
version: "0.1.0",
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
deps: deps(),
docs: [extras: ["README.md"]],
package: package()]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
# def application do
# [applications: [:logger]]
# end
def description do
"""
Elixir bindings for the Juspay Express Checkout API's
"""
end
def application do
[applications: [:httpoison, :poison]]
end
defp package do
[# These are the default files included in the package
name: :juspay_api_library,
maintainers: ["Juspay Technologies","Srenevasan Nachiyappan"],
licenses: ["MIT"],
links: %{"Bitbucket" => "https://bitbucket.org/juspay/expresscheckout-elixir-client",
"docs" => "https://www.juspay.in/docs/api/ec/" }
]
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
[{:poison, "~> 2.0"},{:httpoison, "~> 0.9.0"},{:hackney, "~> 1.6"},{:ex_doc, "~> 0.12", only: :dev}]
end
end