generate-packages-json.bash 287 Bytes
Newer Older
1 2 3 4 5 6
#!/usr/bin/env bash
set -e

## You should use the `shell.nix` file in our project, or install dhall-to-json yourself: https://github.com/dhall-lang/dhall-haskell/releases
dhall-to-json --file packages.dhall --output ./.psc-package/local/.set/packages.json
echo "generated packages.json"