Packages
ecto_watch
0.11.1
1.1.0
1.0.0
0.15.1
0.15.0
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.6
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.2
0.11.1
0.11.0
0.10.0
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.1
0.8.0
0.7.0
0.6.0
0.6.0-rc2
0.6.0-rc1
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
EctoWatch allows you to easily get Phoenix.PubSub notifications directly from postgresql.
Current section
Files
Jump to
Current section
Files
ecto_watch
mix.exs
mix.exs
defmodule EctoWatch.MixProject do
use Mix.Project
@source_url "https://github.com/cheerfulstoic/ecto_watch"
def project do
[
app: :ecto_watch,
version: "0.11.1",
elixir: "~> 1.10",
description:
"EctoWatch allows you to easily get Phoenix.PubSub notifications directly from postgresql.",
licenses: ["MIT"],
package: package(),
start_permanent: Mix.env() == :prod,
deps: deps(),
# Docs
name: "EctoWatch",
docs: docs()
]
end
defp package do
[
maintainers: ["Brian Underwood"],
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
[
{:nimble_options, "~> 1.1"},
{:postgrex, ">= 0.0.0"},
{:phoenix_pubsub, ">= 1.0.0"},
{:jason, ">= 1.0.0"},
{:ecto_sql, ">= 3.0.0"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:mix_test_watch, "~> 1.0", only: [:dev, :test]},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false}
]
end
defp docs do
[
extra_section: "GUIDES",
source_url: @source_url,
skip_undefined_reference_warnings_on: ["CHANGELOG.md"],
extras: extras(),
# ,
groups_for_extras: groups_for_extras()
# main: "Getting Started",
# api_reference: false
]
end
def extras() do
[
"guides/introduction/Getting Started.md",
"guides/introduction/Tracking columns and using labels.md",
"guides/introduction/Getting additional values.md",
"guides/introduction/Watching without a schema.md",
"guides/introduction/Debugging.md",
"guides/introduction/Notes.md",
"guides/howtos/Upgrading Versions.md",
"guides/other/Potental TODOs.md",
"CHANGELOG.md"
]
end
defp groups_for_extras do
[
Introduction: ~r/guides\/introduction\/.?/,
# Cheatsheets: ~r/cheatsheets\/.?/,
"How-To's": ~r/guides\/howtos\/.?/,
Other: ~r/guides\/other\/.?/
]
end
end