Current section

Files

Jump to
Raw

mix.exs

defmodule EctoTablestore.MixProject do
use Mix.Project
def project do
[
app: :ecto_tablestore,
version: "0.5.0",
elixir: "~> 1.7",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
docs: docs(),
source_url: "https://github.com/edragonconnect/ecto_tablestore"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {EctoTablestore.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ecto, "~> 3.2"},
{:jason, "~> 1.0"},
{:ex_aliyun_ots, "~> 0.6"},
{:ex_doc, "~> 0.21", only: :dev, runtime: false}
]
end
defp description do
"Alibaba Tablestore adapter for Ecto"
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE.md"],
maintainers: ["Xin Zou"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/edragonconnect/ecto_tablestore"}
]
end
defp docs do
[
main: "readme",
formatter_opts: [gfm: true],
extras: [
"README.md"
]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end