Packages

A way to keep all your SQL function, cast and operator definitions in actual .sql files instead of migrations.

Current section

Files

Jump to

mix.exs

defmodule EctoEnsureMigrations.MixProject do
use Mix.Project
def project do
[
app: :ecto_ensure_migrations,
version: "0.1.0",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "A way to keep all your SQL function, cast and operator definitions in actual .sql files instead of migrations.",
package: package()
]
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
[
{:ok, "~> 2.3"},
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp package do
[
links: %{
"GitHub" => "https://github.com/narrowtux/ecto_ensure_migrations"
},
licenses: ["MIT"],
]
end
end