Skip to content
This repository was archived by the owner on Jun 14, 2023. It is now read-only.

Commit 39d6ea8

Browse files
committed
Update/improve stack.yaml parser tests
1 parent 067ed68 commit 39d6ea8

File tree

3 files changed

+60
-2
lines changed

3 files changed

+60
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
resolver: lts-11.13
2+
flags: {}
3+
extra-deps: []
4+
extra-package-dbs: []
5+
6+
packages:
7+
- '.'
8+
9+
- location:
10+
git: https://github.com/well-typed/cborg
11+
commit: c7db82bfd93923f5b08ed51a4cd53e30bd445924
12+
subdirs:
13+
- cborg
14+
extra-dep: true
15+
16+
- location:
17+
git: https://github.com/input-output-hk/engine.io.git
18+
commit: d3c55f51bb81cee7d0d551de930ce65fe7d76756
19+
extra-dep: true
20+
subdirs:
21+
- socket-io
22+
- engine-io
23+
- engine-io-wai

test/cli/parse-stack-config/expected/stack-0002.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,19 @@
66
"location": {
77
"git": "https://github.com/well-typed/cborg",
88
"commit": "c7db82bfd93923f5b08ed51a4cd53e30bd445924"
9-
}
9+
},
10+
"subdirs": [
11+
"cborg"
12+
],
13+
"extra-dep": true
1014
},
1115
{
1216
"location": {
1317
"git": "https://github.com/thoughtpolice/hs-ed25519",
1418
"commit": "da4247b5b3420120e20451e6a252e2a2ca15b43c"
15-
}
19+
},
20+
"subdirs": [],
21+
"extra-dep": true
1622
}
1723
],
1824
"extra-deps": [
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"packages": [
3+
".",
4+
{
5+
"location": {
6+
"git": "https://github.com/well-typed/cborg",
7+
"commit": "c7db82bfd93923f5b08ed51a4cd53e30bd445924"
8+
},
9+
"subdirs": [
10+
"cborg"
11+
],
12+
"extra-dep": true
13+
},
14+
{
15+
"location": {
16+
"git": "https://github.com/input-output-hk/engine.io.git",
17+
"commit": "d3c55f51bb81cee7d0d551de930ce65fe7d76756"
18+
},
19+
"subdirs": [
20+
"socket-io",
21+
"engine-io",
22+
"engine-io-wai"
23+
],
24+
"extra-dep": true
25+
}
26+
],
27+
"extra-deps": [],
28+
"resolver": "lts-11.13"
29+
}

0 commit comments

Comments
 (0)