Packages

PokeLib - Common library for dealing with generation 1, 2, and 3 binary Pokemon data.

Current section

Files

Jump to
poke_lib mix.exs
Raw

mix.exs

defmodule PokeLib.Mixfile do
use Mix.Project
@version "0.1.1"
def project do
[
app: :poke_lib,
version: @version,
elixir: "~> 1.5",
start_permanent: Mix.env == :prod,
package: package(),
description: description(),
docs: docs(),
name: "PokeLib",
source_url: "https://github.com/openmons/poke_lib",
deps: []
]
end
def application do
[extra_applications: [:logger]]
end
defp package do
[
name: :poke_lib,
maintainers: ["konnorrigby@gmail.com"],
links: %{"GitHub" => "https://github.com/openmons/poke_lib"},
licenses: ["MIT"]
]
end
defp description, do: """
PokeLib - Common library for dealing with generation 1, 2, and 3
binary Pokemon data.
"""
@source_ref :os.cmd('git log --pretty=format:%h -1')
if Mix.env == :prod, do: @source_ref "v#{@version}"
defp docs do
[
main: "PokeLib",
source_ref: @source_ref,
canonical: "http://hexdocs.pm/poke_lib",
# logo: "",
source_url: "https://github.com/openmons/poke_lib",
extras: [],
groups_for_modules: [
"Generation One": [
PokeLib.Gen1.Pokemon,
PokeLib.Gen1.Save
],
"Utility and Other": [
PokeLib.Utils
]
]
]
end
end