Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Freight.MixProject do
use Mix.Project
def project do
[
app: :freight,
version: "0.2.0",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: [
# The main page in the docs
main: "readme",
extras: ["README.md"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:absinthe, "~> 1.3"},
{:ecto, "~> 2.2"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp description do
"Dynamically create Absinthe GraphQL payload objects for mutations ππ¨"
end
defp package do
[
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README.md LICENSE CHANGELOG.md),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/Nickforall/Freight"}
]
end
end