Open andys8 opened 3 years ago
Thanks, this is a nice idea! The easiest way to do this is to rename the metavariable to something like BUILD_TOOL:[cabal|stack]
. It can be changed here:
https://github.com/kowainik/summoner/blob/main/summoner-cli/src/Summoner/CLI.hs#L373
Feel free to open a PR if you feel like it 🙂
Creating a new script requires to select a
BUILD_TOOL
. It would be nice if the available options would be part of the help. Having a look at the source, the options arestack
andcabal
.https://github.com/kowainik/summoner/blob/b56aada330f21a45054bc47c677d7112d44e411c/summoner-cli/src/Summoner/Settings.hs#L60-L63