Packages

A bare bones interface for the Pokemon API. It can get selected information for a pokemon by name, as well as the complete list of pokemons. This is a student project to learn about caching, ETS, GenServers, supervisors, mix, APIs, hex, git, documentation, testing, and patience.

Current section

Files

Jump to
pokelixir mix.exs
Raw

mix.exs

defmodule Pokelixir.MixProject do
use Mix.Project
def project do
[
app: :pokelixir,
name: "Pokelixir",
source_url: "https://github.com/BigSpaces/pokelixir",
homepage_url: "https://github.com/BigSpaces/pokelixir",
version: "0.1.0",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package()
]
end
def application do
[
extra_applications: [:logger],
mod: {Pokelixir.Application, "Starting Pokelixir Application"}
]
end
defp description() do
"A bare bones interface for the Pokemon API.
It can get selected information for a pokemon by name, as well as the complete list of pokemons.
This is a student project to learn about caching, ETS, GenServers, supervisors, mix, APIs, hex, git, documentation, testing, and patience."
end
defp deps do
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
{:ex_doc, "~> 0.29.1", only: :dev, runtime: false},
{:httpoison, "~> 1.8"},
{:poison, "~> 5.0"}
]
end
defp package() do
[
licenses: ["CC-BY-NC-4.0"],
links: %{"GitHub" => "https://github.com/BigSpaces/pokelixir"}
]
end
end