Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Provide hie.yaml templates for stack and cabal #364

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ dist/
.stack-work/
dist-newstyle/
cabal.project.local
hie.yaml
*~
*.lock
1 change: 0 additions & 1 deletion hie.yaml

This file was deleted.

15 changes: 15 additions & 0 deletions hie.yaml.cbl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This is a sample hie.yaml file for opening ghcide in
# ghcide/hie/ide, using cabal as the build system.
# To use is, copy it to a file called 'hie.yaml'

cradle:
cabal:

- path: "./test"
component: "ghcide:ghcide-test"

- path: "./exe"
component: "ghcide:exe:ghcide"

- path: "./src"
component: "lib:ghcide"
14 changes: 14 additions & 0 deletions hie.yaml.stack
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This is a sample hie.yaml file for opening ghcide in
# ghcide/hie/ide, using stack as the build system.
# To use is, copy it to a file called 'hie.yaml'

cradle:
stack:
- path: "./test"
component: "ghcide:ghcide-tests"

- path: "./exe"
component: "ghcide:exe:ghcide"

- path: "./src"
component: "ghcide:lib"