summaryrefslogtreecommitdiff
path: root/hadrian/hie-bios
blob: 741537ea347b00a7c8608f403c9a051b04e32546 (plain)
1
2
3
4
5
6
7
#! /usr/bin/env bash

# When run, this program will output a list of arguments which are necessary to
# load the GHC library component into GHCi. The program is used by `ghcide` in
# order to automatically set up the correct GHC API session for a project.
echo $(TERM=dumb CABFLAGS=-v0 $PWD/hadrian/build.cabal.sh tool-args -q --build-root=.hie-bios --flavour=ghc-in-ghci) -ighc ghc/Main.hs