Add ghcide configuration files

Authored by mpickering on Sep 20 2019, 5:09 AM.

Description

Add ghcide configuration files

This commit adds three new files

  1. A hie.yaml file to the project root which specifies to IDEs how to

set up the correct environment for loading GHC. This currently
specifies to call the ./hadrian/hie-bios script.

  1. A hie.yaml file for the hadrian subcomponent, which uses the

cabal cradle type.

  1. The ./hadrian/hie-bios script which supplies the correct arguments

for an IDE to start a session.

With these two files it is possible to run

ghcide compiler/

and successfully load all the modules for use in the IDE.

or

ghcide --cwd hadrian/ src/

to test loading all of Hadrian's modules.

Closes Trac #17194

Details

Committed
Marge Bot <ben+marge-bot@smart-cactus.org>Sep 24 2019, 8:09 PM
Parents
rGHCed520678404a: Fix bounds check in ocResolve_PEi386 for relocation values.
Branches
Unknown
Tags
Unknown
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC218c5dbfbd60: Add ghcide configuration files (authored by mpickering).Sep 24 2019, 8:09 PM