defmodule TTY0TTY.MixProject do use Mix.Project def project do [ app: :tty0tty, version: "1.0.0", elixir: "~> 1.11", compilers: [:elixir_make | Mix.compilers()], deps: deps(), description: "Elixir port for tty0tty null modem emulator", dialyzer: [ flags: [:missing_return, :extra_return, :unmatched_returns, :error_handling, :underspecs], list_unused_filters: true ], make_clean: ["clean"], make_targets: ["all"], package: package(), preferred_cli_env: %{ docs: :docs, "hex.publish": :docs, "hex.build": :docs }, start_permanent: Mix.env() == :prod ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger], mod: {TTY0TTY.Application, []} ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:dialyxir, "~> 1.1", only: [:dev], runtime: false}, {:elixir_make, "~> 0.7", runtime: false}, {:ex_doc, "~> 0.26", only: :docs, runtime: false}, {:muontrap, "~> 1.0"} ] end defp package do [ files: [ "c_src", "CHANGELOG.md", "lib", "LICENSES/*", "Makefile", "mix.exs", "README.md" ], links: %{"Github" => "https://github.com/jjcarstens/tty0tty"}, licenses: ["Apache-2.0"] ] end end