Skip to content

Commit 07bd897

Browse files
committed
Update ReadMe
1 parent fc1c6ea commit 07bd897

File tree

1 file changed

+40
-11
lines changed

1 file changed

+40
-11
lines changed

README.md

Lines changed: 40 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# implicit-hie
22
```bash
33
cd your-stack-or-cabal-package
4-
gen-hie
4+
gen-hie > hie.yaml
55
```
66
`gen-hie` should be run the root of a cabal or stack project.
77
The config type (cabal or stack) is determined by the existence of
@@ -12,16 +12,45 @@ The config type (cabal or stack) is determined by the existence of
1212
❯ git clone https://github.com/well-typed/optics.git
1313
cd optics
1414
❯ gen-hie
15-
wrote Cabal /home/user/optics/indexed-profunctors/hie.yaml
16-
wrote Cabal /home/user/optics/optics-th/hie.yaml
17-
wrote Cabal /home/user/optics/optics-vl/hie.yaml
18-
wrote Cabal /home/user/optics/codegen/hie.yaml
19-
wrote Cabal /home/user/optics/optics-core/hie.yaml
20-
wrote Cabal /home/user/optics/optics-sop/hie.yaml
21-
wrote Cabal /home/user/optics/optics-extra/hie.yaml
22-
wrote Cabal /home/user/optics/template-haskell-optics/hie.yaml
23-
wrote Cabal /home/user/optics/optics/hie.yaml
24-
wrote Cabal /home/user/optics/metametapost/hie.yaml
15+
cradle:
16+
cabal:
17+
- path: "indexed-profunctors/src"
18+
component: "lib:indexed-profunctors"
19+
20+
- path: "optics-th/src"
21+
component: "lib:optics-th"
22+
23+
- path: "optics-th/tests"
24+
component: "optics-th:test:optics-th-tests"
25+
26+
- path: "optics-vl/src"
27+
component: "lib:optics-vl"
28+
29+
- path: "codegen/./Subtypes.hs"
30+
component: "optics-codegen:exe:optics-codegen-subtypes"
31+
32+
- path: "optics-core/src"
33+
component: "lib:optics-core"
34+
35+
- path: "optics-sop/src"
36+
component: "lib:optics-sop"
37+
38+
- path: "optics-extra/src"
39+
component: "lib:optics-extra"
40+
41+
- path: "template-haskell-optics/src"
42+
component: "lib:template-haskell-optics"
43+
44+
- path: "optics/src"
45+
component: "lib:optics"
46+
47+
- path: "optics/tests"
48+
component: "optics:test:optics-tests"
49+
50+
- path: "metametapost/src/Cli.hs"
51+
component: "metametapost:exe:metametapost-optics"
52+
53+
2554
```
2655

2756
## Features

0 commit comments

Comments
 (0)