mirror of
https://github.com/Avi-D-coder/implicit-hie.git
synced 2024-11-23 02:06:17 +03:00
1.6 KiB
1.6 KiB
implicit-hie
cd your-stack-or-cabal-package
gen-hie
gen-hie
should be run the root of a cabal or stack project.
The config type (cabal or stack) is determined by the existence of
dist-newstyle
, .stack-work
, stack.yaml
, if none are found the default is cabal.
Cabal Multi project example
❯ git clone https://github.com/well-typed/optics.git
❯ cd optics
❯ gen-hie
wrote Cabal /home/user/optics/indexed-profunctors/hie.yaml
wrote Cabal /home/user/optics/optics-th/hie.yaml
wrote Cabal /home/user/optics/optics-vl/hie.yaml
wrote Cabal /home/user/optics/codegen/hie.yaml
wrote Cabal /home/user/optics/optics-core/hie.yaml
wrote Cabal /home/user/optics/optics-sop/hie.yaml
wrote Cabal /home/user/optics/optics-extra/hie.yaml
wrote Cabal /home/user/optics/template-haskell-optics/hie.yaml
wrote Cabal /home/user/optics/optics/hie.yaml
wrote Cabal /home/user/optics/metametapost/hie.yaml
Features
All common Cabal and Stack configurations should just work. If you use more advanced features, the generated config may not be complete.
- multi component cabal, stack projects
- multiple executables under a single path
- multiple paths provided to
hs-source-dirs
- common stanzas
Work, Twitter
- I'm currently looking for work as a Haskell or Rust developer. I can be reached via email or a twitter message.
- Follow me on twitter @AviDessauer.