mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
update resolver and hie setup
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -27,5 +27,4 @@ stack.yaml.lock
|
|||||||
agent_*
|
agent_*
|
||||||
agent.*
|
agent.*
|
||||||
version
|
version
|
||||||
hie.yaml
|
|
||||||
**/*.s9pk
|
**/*.s9pk
|
||||||
@@ -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`
|
- Follow github instructions to install for specific GHC version ie. `stack ./install.hs hie`
|
||||||
- Install VSCode Haskell Language Server Extension
|
- 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
|
## Tests
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
8
hie.yaml
Normal file
8
hie.yaml
Normal file
@@ -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"
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
#
|
#
|
||||||
# resolver: ./custom-snapshot.yaml
|
# resolver: ./custom-snapshot.yaml
|
||||||
# resolver: https://example.com/snapshots/2018-01-01.yaml
|
# resolver: https://example.com/snapshots/2018-01-01.yaml
|
||||||
resolver: lts-13.19
|
resolver: lts-13.30
|
||||||
|
|
||||||
# User packages to be built.
|
# User packages to be built.
|
||||||
# Various formats can be used as shown in the example below.
|
# Various formats can be used as shown in the example below.
|
||||||
|
|||||||
Reference in New Issue
Block a user