Add sample hie.yaml files for stack and cabal

The cabal one is tested per component.

The stack one has issues because of the nested library.

Note: the suffix on the cabal one cannot be '.cabal', as that
extension is already used.
This commit is contained in:
Alan Zimmerman 2019-12-31 18:25:59 +00:00
parent 704ed3c982
commit b6ba976e45
3 changed files with 60 additions and 0 deletions

1
.gitignore vendored
View File

@ -77,3 +77,4 @@ shake.yaml.lock
# ignore hie.yaml's for testdata
test/**/*.yaml
/hie.yaml

28
hie.yaml.cbl Normal file
View File

@ -0,0 +1,28 @@
cradle:
cabal:
- path: "./test/dispatcher/"
component: "haskell-ide-engine:dispatcher-test"
- path: "./test/functional/"
component: "haskell-ide-engine:func-test"
- path: "./test/unit/"
component: "haskell-ide-engine:unit-test"
- path: "./test/plugin-dispatcher/"
component: "haskell-ide-engine:plugin-dispatcher-test"
- path: "./test/wrapper/"
component: "haskell-ide-engine:wrapper-test"
- path: "./hie-plugin-api/"
component: "lib:hie-plugin-api"
- path: "./app/MainHie.hs"
component: "haskell-ide-engine:hie:exe"
- path: "./app/HieWrapper.hs"
component: "haskell-ide-engine:hie-wrapper:exe"
- path: "./"
component: "lib:haskell-ide-engine"

31
hie.yaml.stack Normal file
View File

@ -0,0 +1,31 @@
cradle:
stack:
- path: "./hie-plugin-api/"
component: "hie-plugin-api:lib"
- path: "./test/dispatcher/"
component: "haskell-ide-engine:test:dispatcher-test"
- path: "./test/functional/"
component: "haskell-ide-engine:test:func-test"
- path: "./test/unit/"
component: "haskell-ide-engine:test:unit-test"
- path: "./test/plugin-dispatcher/"
component: "haskell-ide-engine:test:plugin-dispatcher-test"
- path: "./test/wrapper/"
component: "haskell-ide-engine:test:wrapper-test"
- path: "./test/utils/"
component: "haskell-ide-engine:lib:hie-test-utils"
- path: "./app/MainHie.hs"
component: "haskell-ide-engine:exe:hie"
- path: "./app/HieWrapper.hs"
component: "haskell-ide-engine:exe:hie-wrapper"
- path: "./"
component: "haskell-ide-engine:lib"