hnix-store/.github/workflows/ci.sh
sorki 15f77e8f4b ci: disable haddock step
takes too long and it runs in nix-build anyway.

Ideally we would do `cabal haddock-project` but that
is not yet available everywhere (due to older haddock).

Maybe revisit later.
2023-12-02 10:25:46 +01:00

18 lines
466 B
Bash
Executable File

#!/usr/bin/env bash
# Script by @fisx
set -eo pipefail
cd "$( dirname "${BASH_SOURCE[0]}" )"
which dhall || cabal install dhall
which dhall-to-yaml || cabal install dhall-yaml
echo "dhall format-ing ci.dhall"
dhall format ci.dhall
echo "cp haskellCi.dhall -> ci.dhall.frozen"
cp ci.dhall ci.dhall.frozen
echo "dhall freez-ing ci.dhall.frozen"
dhall freeze ci.dhall.frozen
echo "regenerating ci.yaml"
dhall-to-yaml-ng --generated-comment --file ci.dhall > ci.yaml