-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
80 lines (71 loc) · 1.87 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
defmodule IO.ANSI.Table.Mixfile do
use Mix.Project
def project do
[
app: :io_ansi_table,
version: "1.0.34",
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
name: "IO ANSI Table",
source_url: source_url(),
description: description(),
package: package(),
# aliases: aliases(),
deps: deps()
]
end
defp source_url do
"https://github.com/RaymondLoranger/io_ansi_table"
end
defp description do
"""
Writes data to "stdio" in a table with borders and colors.
Can choose a table style to change the look of the table.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README*", "config/persist*.exs"],
maintainers: ["Raymond Loranger"],
licenses: ["MIT"],
links: %{"GitHub" => source_url()}
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {IO.ANSI.Table.TopSup, :ok}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
{:file_only_logger, "~> 0.2"},
# {:file_only_logger, path: "../file_only_logger"},
{:io_ansi_plus, "~> 0.1"},
{:log_reset, "~> 0.1"},
# {:log_reset, path: "../log_reset"},
{:map_sorter, "~> 0.2"},
# {:map_sorter, path: "../map_sorter"},
{:persist_config, "~> 0.4", runtime: false}
]
end
# defp aliases do
# [
# docs: ["docs", ©_images/1]
# ]
# end
# defp copy_images(_) do
# File.cp_r("images", "doc/images", fn src, dst ->
# # Always true...
# src || dst
# # IO.gets(~s|Overwriting "#{dst}" with "#{src}".\nProceed? [Yn]\s|) in [
# # "y\n",
# # "Y\n"
# # ]
# end)
# end
end