Packages

Lightweight and easy to use API micro-framework.

Current section

Files

Jump to
fl_ex mix.exs
Raw

mix.exs

defmodule FlEx.MixProject do
use Mix.Project
def project do
[
app: :fl_ex,
version: "0.1.2",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "fl_ex",
description: "Lightweight and easy to use API micro-framework.",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
source_url: "https://github.com/nicolkill/fl_ex",
docs: [
extras: ["README.md"],
groups_for_extras: [
Guides: Path.wildcard("guides/*.md")
],
groups_for_modules: [
Core: [
FlEx.Server,
FlEx.Router,
FlEx.RendererFunctions
],
Plugs: [
FlEx.Plug.ApiRestJson,
FlEx.Plug.Logger
],
Testing: [
FlEx.ConnTest,
FlEx.Test.Helpers
],
"Internal use only": [
FlEx.Server.Request,
FlEx.Plug.PlugHandler,
FlEx.Router.Methods,
FlEx.Server.Supervisor,
FlEx.Server.Cowboy
]
]
]
]
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
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:plug, "~> 1.14"},
{:plug_cowboy, "~> 2.0"},
{:httpoison, "~> 2.0", only: :test, runtime: false},
{:jason, "~> 1.2"}
]
end
defp package do
[
name: "fl_ex",
files: ~w(lib guides .formatter.exs mix.exs README*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/nicolkill/fl_ex"}
]
end
end