diff --git a/.gitignore b/.gitignore index c7b4ec359..aba9124fd 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,6 @@ dist/ .stack-work/ dist-newstyle/ cabal.project.local +hie.yaml *~ *.lock diff --git a/hie.yaml b/hie.yaml deleted file mode 100644 index 1f9f2f0d7..000000000 --- a/hie.yaml +++ /dev/null @@ -1 +0,0 @@ -cradle: {stack: {component: "ghcide:lib"}} diff --git a/hie.yaml.cbl b/hie.yaml.cbl new file mode 100644 index 000000000..cf36cf6c5 --- /dev/null +++ b/hie.yaml.cbl @@ -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" diff --git a/hie.yaml.stack b/hie.yaml.stack new file mode 100644 index 000000000..b44424924 --- /dev/null +++ b/hie.yaml.stack @@ -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"