Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Gusex.MixProject do
use Mix.Project
def project do
[
app: :gusex,
version: "1.2.0",
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Hex package metadata
name: "gusex",
description: description(),
package: package(),
source_url: "https://bitbucket.org/silverdr/gusex/",
homepage_url: "https://hexdocs.pm/gusex",
# ExDoc configuration
docs: [
main: "readme",
extras: ["README.md", "CHANGELOG"],
source_ref: "master"
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :httpoison]
]
end
# Run "mix help deps" to learn about dependencies.
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"},
# {:dep_from_local_path, path: "../my_dep" },
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:exvcr, "~> 0.15", only: :test},
{:mock, "~> 0.3.8", only: :test},
{:sweet_xml, "~> 0.7.3"},
{:httpoison, "~> 2.3"},
]
end
defp description() do
"Elixir client for Polish GUS BIR (Baza Internetowa Regon) service. " <>
"Search and retrieve business entity data from CEIDG, KRS, and RSPO registries."
end
defp package() do
[
files: ~w(lib .formatter.exs mix.exs README* LICENCE* CHANGELOG*),
exclude_patterns: ["lib/mix"],
licenses: ["MIT"],
maintainers: ["Silver Dream ! <silverdr@srebrnysen.com>"],
links: %{"BitBucket" => "https://bitbucket.org/silverdr/gusex/"}
]
end
end