ImplicitCAD/.github/workflows/ci.sh

13 lines
303 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
2023-11-12 12:59:24 +03:00
# Script by @fisx
set -eo pipefail
2023-11-12 12:59:24 +03:00
# cd into the dir where this script is placed
cd "$( dirname "${BASH_SOURCE[0]}" )"
2023-11-12 12:59:24 +03:00
echo "regenerating .github/workflows/ci.yaml"
2023-11-12 12:59:24 +03:00
which dhall-to-yaml-ng || cabal install dhall-yaml
dhall-to-yaml-ng --generated-comment --file ci.dhall > ci.yaml