Packages

An Elixir wrapper around the libsodium cryptographic library.Based on erlang-nif.

Current section

Files

Jump to
libsalty2 mix.exs
Raw

mix.exs

defmodule Salty.Mixfile do
use Mix.Project
@github "https://github.com/ianleeclark/libsalty2"
def project do
[
app: :libsalty2,
version: "0.2.0",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
compilers: [:elixir_make] ++ Mix.compilers(),
make_clean: ["clean"],
description: description(),
package: package(),
deps: deps(),
docs: [extras: ["README.md"], main: "readme"],
source_url: @github
]
end
# Configuration for the OTP application
def application do
[]
end
defp deps do
[
{:ex_doc, "~> 0.18", only: :dev},
{:elixir_make, "~> 0.4", runtime: false}
]
end
defp description do
"""
An Elixir wrapper around the libsodium cryptographic library.
Based on erlang-nif.
"""
end
defp package do
[
name: "libsalty2",
files: ["config", "src", "lib", "mix.exs", "Makefile", "LICENSE*", "README*"],
maintainers: ["ian@ianleeclark.com"],
licenses: ["Apacha License, Version 2.0"],
links: %{"Github" => @github}
]
end
end