Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 1.64 KB

README.md

File metadata and controls

59 lines (47 loc) · 1.64 KB

postmap
PostgreSQL Database Introspection, Mapping and Code Generation Tool

GitHub Release GitHub Issues or Pull Requests GitHub Issues or Pull Requests

Warning

This is an experimental project that is in its early stages of development. Both the functionality and API are subject to change at any time.

It is not recommended to use this in production or any other critical environment. Use at your own risk.

Development

Provision Nix shell via direnv:

direnv allow

Big, long build command for the impatient:

hpack &&
    direnv reload &&
    fourmolu -i app/ src/ test/ &&
    prettier --write . &&
    find . -iname "*.nix" -not -path "*/nix/sources.nix" -print0 | xargs --null nixpkgs-fmt &&
    hlint app/ src/ test/ &&
    cabal build -O0 &&
    cabal run -O0 postmap -- --version &&
    cabal v1-test &&
    cabal haddock -O0

Use following command to lint, build, test and haddock the codebase:

dev-test-build

License

Copyright © 2024 Vehbi Sinan Tunalioglu. This work is licensed under MIT License.