Current section
Files
Jump to
Current section
Files
fortnox_ex
mix.exs
mix.exs
defmodule FortnoxEx.Mixfile do
use Mix.Project
@version "0.4.5"
@github_url "https://github.com/rsystem-se/fortnox_ex"
def project do
[
app: :fortnox_ex,
description: "FortnoxEx is an unofficial API client for Fortnox",
version: @version,
elixir: "~> 1.6",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
package: package(),
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
# Specify extra applications you'll use from Erlang/Elixir
[extra_applications: [:logger]]
end
# Dependencies can be Hex packages:
#
# {:my_dep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.3.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:tesla, "~> 1.4"},
{:fuse, "~> 2.4"},
{:hackney, "~> 1.17"},
{:poison, "~> 3.0"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:mix_test_watch, "~> 1.0", only: [:dev, :test], runtime: false},
]
end
defp package do
[
maintainers: ["Nils Ivanson"],
licenses: ["MIT"],
links: %{
"GitHub" => @github_url
}
]
end
end