Packages
prompt
0.9.2
0.11.1-rc1
0.10.1
0.10.1-rc2
0.10.1-rc1
0.10.1-rc0
0.10.0
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.1
0.8.0
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
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.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.1
0.4.0
0.3.0
0.2.0
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
A terminal toolkit and a set of helpers for building console applications.
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Prompt.MixProject do
use Mix.Project
def project do
[
app: :prompt,
description: "A terminal toolkit and a set of helpers for building console applications.",
version: "0.9.2",
elixir: "~> 1.10",
package: package(),
source_url: "https://github.com/silbermm/prompt",
dialyzer: [
# plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
flags: ["-Wunmatched_returns", :error_handling, :underspecs]
],
docs: docs(),
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application do
[
extra_applications: [:logger, :iex]
]
end
defp deps do
[
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.28.4", only: :dev, runtime: false},
{:dialyxir, "~> 1.1", only: [:dev], runtime: false},
{:nimble_options, "~> 0.3.0"}
]
end
defp package do
[
licenses: ["GPL-3.0-or-later"],
files: ["lib", "mix.exs", "README.md", "CHANGELOG.md", "COPYING*"],
maintainers: ["Matt Silbernagel"],
links: %{:GitHub => "https://github.com/silbermm/prompt"}
]
end
defp docs do
[
main: "Prompt",
api_reference: false,
extras: [
"README.md": [filename: "introduction", title: "Introduction"],
"example.livemd": [filename: "example", title: "Example"],
"CHANGELOG.md": [filename: "changelog", title: "Changelog"],
LICENSE: [filename: "license", title: "License"]
],
logo: "assets/prompt.png",
authors: ["Matt Silbernagel"],
groups_for_functions: [
"Input Functions": &(&1[:section] == :input),
"Output Functions": &(&1[:section] == :output)
],
nest_modules_by_prefix: [
Prompt,
Prompt.Command,
Prompt.Position
]
]
end
end