Home

Awesome

purescript-ccap-codegen

Build
Status

First time setup

yarn

Building

yarn build

If after successful setup, pulp is not found (try pulp psci to test this)

PATH=node_modules/.bin:$PATH

Testing

For the most basic testing:

yarn test

To additionally re-generate the auto-generated tmpls from the DB, assuming you already have ~/.pgpass set up and are on the CCAP network:

yarn test ccap

Print a computer-friendly (PureScript) representation of the template to the console. Useful for debugging.

pulp run -- -m show -p unused samples/County.tmpl