Current section
Files
Jump to
Current section
Files
graylog_search
mix.exs
mix.exs
defmodule GraylogSearch.MixProject do
use Mix.Project
@version "1.0.0"
def project do
[
app: :graylog_search,
description: "Construct URLs for Graylog search queries",
version: @version,
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
docs: docs()
]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[
licenses: ["Apache 2.0"],
links: %{
"GitHub" => "https://github.com/rekki/graylog_search",
"Rekki Engineering Careers" => "https://www.rekki.com/careers/engineering",
"Rekki Engineering Blog" => "https://rekki.dev"
}
]
end
defp docs do
[
extras: ["README.md": [title: "README"]],
main: "GraylogSearch",
source_ref: "v#{@version}",
source_url: "https://github.com/rekki/graylog_search",
canonical: "https://hexdocs.pm/graylog_search",
groups_for_functions: [
"API - Generic": &(&1[:group] == :generic),
"API - Boolean operators": &(&1[:group] == :operators),
"API - Time frames": &(&1[:group] == :time)
]
]
end
end