Packages
github_issues
0.3.4
0.4.71
0.4.70
0.4.69
0.4.68
0.4.66
0.4.65
0.4.64
0.4.63
0.4.62
0.4.61
0.4.60
0.4.59
0.4.58
0.4.56
0.4.55
0.4.54
0.4.53
0.4.52
0.4.51
0.4.50
0.4.48
0.4.47
0.4.46
0.4.45
0.4.44
0.4.43
0.4.42
0.4.41
0.4.40
0.4.39
0.4.38
0.4.37
0.4.36
0.4.35
0.4.34
0.4.33
0.4.32
0.4.31
0.4.30
0.4.29
0.4.28
0.4.27
0.4.26
0.4.25
0.4.24
0.4.23
0.4.22
0.4.21
0.4.20
0.4.19
0.4.18
0.4.17
0.4.16
0.4.15
0.4.14
0.4.13
0.4.12
0.4.11
0.4.10
0.4.9
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.24
0.3.23
0.3.22
0.3.21
0.3.20
0.3.19
0.3.18
0.3.17
0.3.16
0.3.15
0.3.14
0.3.13
0.3.12
0.3.11
0.3.10
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.0
0.2.5
0.2.3
0.2.2
0.2.0
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.4
0.1.2
0.1.1
0.1.0
Writes GitHub Issues to "stdio" in a table with borders and colors.
Current section
Files
Jump to
Current section
Files
github_issues
mix.exs
mix.exs
defmodule GitHub.Issues.Mixfile do
use Mix.Project
def project() do
[
app: :github_issues,
version: "0.3.4",
elixir: "~> 1.5",
start_permanent: Mix.env == :prod,
name: "GitHub Issues",
source_url: source_url(),
description: description(),
package: package(),
aliases: aliases(),
escript: escript(),
deps: deps(),
dialyzer: [ignore_warnings: "dialyzer.ignore-warnings"]
]
end
defp source_url() do
"https://github.com/RaymondLoranger/github_issues"
end
defp description() do
"""
Prints GitHub Issues to STDOUT in a table with borders and colors.
"""
end
defp package() do
[
files: ["lib", "mix.exs", "README*", "config/config.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]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps() do
[
{:mix_tasks, path: "../mix_tasks", only: :dev, runtime: false},
{:persist_config, "~> 0.1"},
{:io_ansi_table, "~> 0.3"},
{:earmark, "~> 1.0", only: :dev},
{:ex_doc, "~> 0.14", only: :dev, runtime: false},
{:dialyxir, "~> 0.5", only: :dev, runtime: false},
{:httpoison, "~> 0.11"},
{:jsx, "~> 2.0"},
{:logger_file_backend, "~> 0.0.9"}
]
end
defp aliases() do
[
docs: ["docs", ©_images/1]
]
end
defp copy_images(_) do
File.cp_r("images", "doc/images", fn src, dst ->
src || dst # => true
# IO.gets(~s|Overwriting "#{dst}" with "#{src}".\nProceed? [Yn]\s|)
# in ["y\n", "Y\n"]
end)
end
defp escript() do
[
main_module: GitHub.Issues.CLI, name: :gi
]
end
end