Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Totpex.Mixfile do
use Mix.Project
def project do
[
app: :totpex,
version: "0.1.1",
elixir: "~> 1.5",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
name: "Totpex",
source_url: "https://gitlab.com/ahamtech/elixir/totpex.git"
]
end
def application do
[extra_applications: [:logger]]
end
defp escript_config do
[main_module: Totpex.CLI]
end
defp deps do
[
{:httpoison, "~> 1.0"},
{:poison, "~> 3.1"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp description() do
"
TOTP: Time-Based One-Time Password written in Elixir
Original Author : https://twitter.com/jameslafa
"
end
defp package() do
[
name: "totpex",
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Anwesh Reddy", "Mahesh Reddy"],
licenses: ["GNU Lesser General Public License v3.0"],
links: %{"GitHub" => "https://gitlab.com/ahamtech/elixir/totpex.git"}
]
end
end