Current section
Files
Jump to
Current section
Files
exdecisionlogic
mix.exs
mix.exs
defmodule ExDecisionLogic.MixProject do
use Mix.Project
def project do
[
app: :exdecisionlogic,
version: "0.1.1",
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {ExDecisionLogic.Application, []}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(:dev), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp description() do
"Elixir app to interact with DecisionLogic SOAP interface"
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# Validation
{:vex, "~> 0.9.0"},
{:skooma, "~> 0.2.0"},
{:hackney, "~> 1.18"},
# SOAP Handling
{:soap, "~> 1.0"},
# Code Analysis
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
# Testing
{:faker, "~> 0.17", only: :test},
{:ex_machina, "~> 2.7", only: [:dev, :test]},
{:mix_test_watch, "~> 1.1", only: :dev, runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
defp package() do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/TheFundingFloor/exdecisionlogic"}
]
end
end