Packages
ecto_ch
0.4.0
0.10.0
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
retired
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
retired
0.6.1
retired
0.6.0
retired
0.5.1
0.5.0
retired
0.4.1
0.4.0
retired
0.3.10
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
ClickHouse adapter for Ecto
Retired package: Deprecated - Partially incompatible with Ecto v3.13. Use v0.4.1 or v0.6.3 for Ecto v3.12, or v0.7.0 for Ecto v3.13.
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule EctoCh.MixProject do
use Mix.Project
@source_url "https://github.com/plausible/ecto_ch"
@version "0.4.0"
def project do
[
app: :ecto_ch,
version: @version,
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
test_paths: test_paths(System.get_env("INTEGRATION")),
deps: deps(),
name: "Ecto ClickHouse",
description: "ClickHouse adapter for Ecto",
docs: docs(),
package: package(),
source_url: @source_url
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(:dev), do: ["lib", "dev"]
defp elixirc_paths(_env), do: ["lib"]
defp test_paths(nil), do: ["test"]
defp test_paths(_any), do: ["integration_test"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ch, "~> 0.2.7"},
{:ecto_sql, "~> 3.12"},
{:benchee, "~> 1.1", only: :bench},
{:dialyxir, "~> 1.2", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: :docs},
{:rexbug, "~> 1.0", only: [:dev, :test]},
{:tz, "~> 0.28.1", only: [:dev, :test]}
]
end
defp docs do
[
source_url: @source_url,
source_ref: "v#{@version}",
main: "readme",
extras: ["README.md", "CHANGELOG.md"],
skip_undefined_reference_warnings_on: ["CHANGELOG.md"]
]
end
defp package do
[
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
end