Packages
yacto
2.0.3
2.1.1
2.1.0
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
2.0.0-rc.1
2.0.0-rc.0
2.0.0-pre.15
2.0.0-pre.14
2.0.0-pre.13
2.0.0-pre.12
2.0.0-pre.11
2.0.0-pre.10
2.0.0-pre.9
2.0.0-pre.8
2.0.0-pre.7
2.0.0-pre.6
2.0.0-pre.5
2.0.0-pre.4
2.0.0-pre.3
2.0.0-pre.2
2.0.0-pre.1
2.0.0-pre.0
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.3
1.1.1
1.1.0
1.0.7
1.0.6
1.0.5
A library for automatically generating a migration file and horizontally partitioning databases
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Yacto.Mixfile do
use Mix.Project
@source_url "https://github.com/gumi/yacto"
@version "2.0.3"
def project do
[
app: :yacto,
version: @version,
elixir: "~> 1.9",
elixirc_paths: elixirc_paths(Mix.env()),
elixirc_options: [all_warnings: true, warnings_as_errors: true],
start_permanent: Mix.env() == :prod,
test_paths: ["test/yacto"],
package: package(),
docs: docs(),
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ecto_sql, "~> 3.8"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:myxql, "~> 0.6.2"},
{:elixir_uuid, "~> 1.2"},
{:memoize, "~> 1.4"},
{:power_assert, "~> 0.3.0", only: :test}
]
end
defp package do
[
description:
"A library for automatically generating a migration file " <>
"and horizontally partitioning databases",
maintainers: ["melpon", "kenichirow"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/gumi/yacto"}
]
end
defp docs do
[
extras: [
"CHANGELOG.md": [],
LICENSE: [title: "ライセンス"],
"README.md": [title: "概要"]
],
main: "readme",
source_url: @source_url,
source_ref: "v#{@version}",
formatters: ["html"]
]
end
end