1
1
mirror of https://github.com/github/semantic.git synced 2024-11-23 08:27:56 +03:00
semantic/.hie-bios.sh
2020-06-23 17:00:13 -04:00

12 lines
351 B
Bash
Executable File

#!/usr/bin/env bash
# This file is invoked by ghcide to load the packages
# required to load the semantic monorepo into ghci.
# You generally shouldn't need to modify it.
set -euo pipefail
bazel build //:hie-bios --output_groups=hie_bios
cat bazel-bin/hie-bios@hie-bios >"$HIE_BIOS_OUTPUT"
# Make warnings non-fatal
echo -Wwarn >>"$HIE_BIOS_OUTPUT"