From 69dc5922cfd1570aee7e1dccb166bcbe1bda1326 Mon Sep 17 00:00:00 2001 From: Lucy Cifferello Date: Mon, 22 Jun 2020 15:46:31 -0600 Subject: [PATCH] update resolver and hie setup --- .gitignore | 1 - README.md | 4 ++++ hie.yaml | 8 ++++++++ stack.yaml | 2 +- 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 hie.yaml diff --git a/.gitignore b/.gitignore index 8115bfa..e5150ad 100644 --- a/.gitignore +++ b/.gitignore @@ -27,5 +27,4 @@ stack.yaml.lock agent_* agent.* version -hie.yaml **/*.s9pk \ No newline at end of file diff --git a/README.md b/README.md index 6617d98..a05e085 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,10 @@ As your code changes, your site will be automatically recompiled and redeployed - Follow github instructions to install for specific GHC version ie. `stack ./install.hs hie` - Install VSCode Haskell Language Server Extension +To create `hie.yaml` if it does not exist: +- gather executables by running `stack ide targets` +- see [here](https://github.com/haskell/haskell-ide-engine#project-configuration) for file setup details + ## Tests ``` diff --git a/hie.yaml b/hie.yaml new file mode 100644 index 0000000..3e092b8 --- /dev/null +++ b/hie.yaml @@ -0,0 +1,8 @@ +cradle: + stack: + - path: "./" + component: "start9-registry:lib" + - path: "./app" + component: "start9-registry:exe:start9-registry" + - path: "./test" + component: "start9-registry:test:start9-registry-test" \ No newline at end of file diff --git a/stack.yaml b/stack.yaml index efd76a5..e13d38c 100644 --- a/stack.yaml +++ b/stack.yaml @@ -17,7 +17,7 @@ # # resolver: ./custom-snapshot.yaml # resolver: https://example.com/snapshots/2018-01-01.yaml -resolver: lts-13.19 +resolver: lts-13.30 # User packages to be built. # Various formats can be used as shown in the example below.