Packages
An extension on `Ecto.Schema` where you can provide additional options, which will be read by the corresponding `PropSchema.TestHarness` module, used in the test files to generate property tests.
Current section
Files
Jump to
Current section
Files
prop_schema
mix.exs
mix.exs
defmodule PropSchema.MixProject do
use Mix.Project
@version "0.1.2"
def project do
[
app: :prop_schema,
version: @version,
elixir: ">= 1.5.0",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
name: "PropSchema",
package: package(),
description: description()
]
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
[
{:credo, "~> 0.10.0", only: [:dev, :test], runtime: false},
{:ecto, "~> 2.2"},
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:stream_data, "~> 0.4"}
]
end
def description do
"An extension on `Ecto.Schema` where you can provide additional options, which will be read by the corresponding `PropSchema.Executor` module, used in the test files to generate property tests."
end
defp package do
[
files: ["lib", "mix.exs", "README.md"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/podium/prop_schema",
"Docs" => "https://hexdocs.pm/prop_schema/#{@version}"
},
maintainers: ["Podium", "Brandon Bennett"],
source_url: "https://github.com/podium/prop_schema"
]
end
defp docs do
[
main: "PropSchema",
logo: "misc/pink-p.png",
extras: ["README.md"]
]
end
end