Go to file
Gabriel Gonzalez 83c4a32e99
Refactor test suite (#733)
This moves all of the test suite modules underneath a `Dhall.Test`
module hierarchy instead of clobbering the top-level namespace.
2018-12-03 09:17:53 -08:00
dhall Refactor test suite (#733) 2018-12-03 09:17:53 -08:00
dhall-bash Update READMEs (#732) 2018-12-03 08:30:30 -08:00
dhall-json Build against tasty-1.2 (#731) 2018-12-03 08:48:43 -08:00
dhall-text Update READMEs (#732) 2018-12-03 08:30:30 -08:00
nix GHCJS support for Dhall (#734) 2018-12-03 08:07:18 -08:00
.gitignore Replace .gitigore with one from github/gitignore (#264) 2018-02-14 10:03:39 -08:00
.travis.yml Make format and dhall subcommands of dhall executable (#452) 2018-06-10 19:54:22 +02:00
cabal.project Update stack/cabal config to sync with new structure (#671) 2018-11-06 05:42:23 -08:00
default.nix Migrate dhall-{bash,json,text} into this repository (#661) 2018-10-28 17:32:51 -07:00
LICENSE Migrate dhall-{bash,json,text} into this repository (#661) 2018-10-28 17:32:51 -07:00
README.md Update READMEs (#732) 2018-12-03 08:30:30 -08:00
release.nix GHCJS support for Dhall (#734) 2018-12-03 08:07:18 -08:00
stack-lts-6.yaml Update stack/cabal config to sync with new structure (#671) 2018-11-06 05:42:23 -08:00
stack-lts-11.yaml Update stack/cabal config to sync with new structure (#671) 2018-11-06 05:42:23 -08:00
stack.yaml Add cborg-json to the stack.yaml (#720) 2018-11-29 17:18:25 -08:00

dhall-haskell

You will probably want to read the language-agnostic README here:

This repository focuses on the Haskell bindings to Dhall and contains the following packages:

Navigate to each package's directory for their respective READMEs

Building from source

cabal

You can build all of the packages by running:

$ cabal new-build all

And each of them with cabal new-build <package-name>, for example:

$ cabal new-build dhall

... or you can run cabal new-build within each package directory.

nix

You can build all of the packages by running:

$ nix-build

... or you can run nix-build within each package's respective directory to build just that one package.

You can install all of the packages by running:

$ nix-env --install --file default.nix

... or you can run the same command within each package's respective directory to install just that one package.

You can develop any package by navigating to that package's directory and running:

$ nix-shell
[nix-shell]$ cabal configure
[nix-shell]$ cabal build
[nix-shell]$ cabal test

... or you can add nix: True to your ~/.cabal/config file and then you can run the same cabal commands without an explicit nix-shell:

$ cabal configure
$ cabal build
$ cabal test

stack

You can build all of the packages with

$ stack build

And each of them with stack build <package-name>, for example:

$ stack build dhall-json

Contributing

Read the following guide if you would like to contribute: