Skip to content

ryanzidago/bylaw

Repository files navigation

Bylaw

Bylaw is an Elixir library for validating code, database, query, schema, and rendered HTML constraints.

Bylaw is organized as independent packages under packages/:

Packages most applications start with:

Supporting packages used by Bylaw itself:

Installation

Add the package you need to your dependencies:

def deps do
  [
    {:bylaw_html, "~> 0.1.0-alpha.2", only: :test},
    {:bylaw_ecto_query, "~> 0.3.0"},
    {:bylaw_postgres, "~> 0.3.0"},
    {:bylaw_credo, "~> 0.2.0", only: [:dev, :test], runtime: false}
  ]
end

Development

Each package has its own mix.exs. Run package-specific commands from the package directory:

cd packages/bylaw_ecto_query
mix test

To run the standard checks across all packages from the repository root:

scripts/qa.sh

About

An Elixir library for validating code, database, query, and schema constraints.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages