Packages
thousand_island
1.4.3
1.5.0
1.4.3
1.4.2
1.4.1
1.4.0
1.3.14
1.3.13
1.3.12
1.3.11
1.3.10
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
1.0.0-pre.7
1.0.0-pre.6
1.0.0-pre.5
1.0.0-pre.4
1.0.0-pre.3
1.0.0-pre.2
1.0.0-pre.1
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.17
0.5.16
0.5.15
0.5.14
0.5.13
0.5.12
0.5.11
0.5.10
0.5.9
0.5.8
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
A simple & modern pure Elixir socket server
Current section
Files
Jump to
Current section
Files
thousand_island
mix.exs
mix.exs
defmodule ThousandIsland.MixProject do
use Mix.Project
def project do
[
app: :thousand_island,
version: "1.4.3",
elixir: "~> 1.13",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: dialyzer(),
name: "Thousand Island",
description: "A simple & modern pure Elixir socket server",
source_url: "https://github.com/mtrudel/thousand_island",
package: [
maintainers: ["Mat Trudel"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/mtrudel/thousand_island",
"Changelog" => "https://hexdocs.pm/thousand_island/changelog.html"
},
files: ["lib", "mix.exs", "README*", "LICENSE*", "CHANGELOG*"]
],
docs: docs()
]
end
def application do
[extra_applications: [:logger, :ssl]]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps() do
[
{:telemetry, "~> 0.4 or ~> 1.0"},
{:machete, ">= 0.0.0", only: [:dev, :test]},
{:ex_doc, "~> 0.25", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false}
]
end
defp dialyzer do
[
plt_core_path: "priv/plts",
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
plt_add_deps: :apps_direct,
plt_add_apps: [:public_key],
flags: [
"-Werror_handling",
"-Wextra_return",
"-Wmissing_return",
"-Wunknown",
"-Wunmatched_returns",
"-Wunderspecs"
]
]
end
defp docs do
[
main: "ThousandIsland",
logo: "assets/ex_doc_logo.png",
extras: ["CHANGELOG.md"],
groups_for_extras: [
Changelog: ~r/CHANGELOG\.md/
],
groups_for_modules: [
Transport: [
ThousandIsland.Transport,
ThousandIsland.Transports.TCP,
ThousandIsland.Transports.SSL
]
]
]
end
end