Closed IvantheTricourne closed 4 years ago
This was quite useful: https://github.com/commercialhaskell/stack/blob/master/doc/yaml_configuration.md#packages
In an external project, I've done this with the following in a stack.yaml
file:
extra-deps:
- git: https://github.com/f-o-a-m/hs-abci/
commit: 3b13a569bcc77dcdec154552175f69bf4ea8b8ca
subdirs:
- hs-abci-extra
- hs-abci-sdk
- hs-abci-server
- hs-abci-test-utils
- hs-abci-types
- hs-tendermint-client
The snippet should also list some necessary/recommended extra-deps
and default-extensions
to make this process easier. Alternatively, it could also point to appropriate docs to do so (e.g. polysemy
, proto-lens
, etc.).
Not sure how useful this one is going to end up being for the reasons:
subdirs
(albeit not very well documented)You could also make a stack new <template>
: https://github.com/commercialhaskell/stack/pull/4103
We should consider including a "how to make your own hs-abci project" walkthrough. This is separate and different from the existing
nameservice
tutorial. This should be more general and allow people to understand how to setup their own abci apps outside (unlikenameservice
) of this repo:hs-abci-sdk
,hs-abci-server
,hs-abci-types
)?