summoner
summoner copied to clipboard
Support work with existing project
Add update
command which can upgrade current project with missing features.
I will enumerate here what we can add to existing projects. Only simple staff that we can do without depending on Cabal
library:
- [ ] Add
.travis.yml
-
cabal
or not - ghc versions
- paths to
stack.yaml
with GHC versions
-
- [ ] Add Appveyor CI config
- Has
stack
?
- Has
- [ ] Add executable stanza
- Name of the package
- Library or not
- GHC version
- default-extensions
- custom prelude
- [ ] Add test stanza
- Name of the package
- GHC version
- default-extensions
- custom prelude
- [ ] Add doctest
- [ ] Add bench stanza
- Name of the package
- Library or not
- GHC version
- default-extensions
- custom prelude
- [ ] Add library stanza
- Name of the package
- GHC version
- default-extensions
- custom prelude
- [ ] Add
stack.yaml
for specified GHC version- Ghc version
- [ ] Add
.gitignore
(rewrite existing one with our all-inclusive.gitignore
) - [ ] Change LICENSE to new one (with warning to update license in
.cabal
file)- Name of the license
- Author name
- [ ] Add CHANGELOG (with warning to update
extra-doc-files
in.cabal
file)- Name of the package (same as repo)
- Owner
- Github or not
- [ ] Add README.md (with badges)
- Name of the package (repo)
- stack or not
- travis or not
- appveyor or not
- description
For some commands we need project name and GitHub owner name. Project name can be extracted from .cabal
file. GitHub name we can ask for now if it's not specified in global configuration.
Also in some commands we need to add badges to README file in addition to creating new files. We can just put them in the beginning.
This is a nice feature! any news on this?
@carliros Thanks for your interest!
We just released 1.3.0
version yesterday with some other new features included. We will try to create the Milestone for the following release soon and will include a realistic amount of new features in there.
We will keep you updated under this issue :slightly_smiling_face: