Current section
Files
Jump to
Current section
Files
mix.exs
defmodule ExWrapper.Mixfile do
use Mix.Project
def project do
[
app: :exwrapper,
version: read_version(),
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
# Hex.pm
package: package(),
description: description(),
# Docs
name: "ExWrapper",
source_url: "https://github.com/OpenMercure/ExWrapper.git",
homepage_url: "https://github.com/OpenMercure/ExWrapper.git",
docs: [main: "exwrapper",
logo: "exwrapper.png",
extras: ["README.md"]]
]
end
defp package do
[
name: :exwrapper,
files: ["lib", "mix.exs", "README*", "LICENSE*", "VERSION"],
maintainers: ["Antoine Favarel (ZackEyston/OpenMercure)"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/OpenMercure/ExWrapper"}
]
end
defp description do
"""
This package provide all wrappring functions for datastructure converting (Erlang/Elixir).
"""
end
defp read_version do
{:ok, message} = File.read("VERSION")
message |> String.trim
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:ex_doc, "~> 0.14", runtime: false}
]
end
end