Create a new issue using the correct issue template or introduce a new feature/fix a bug and submit a pull request.
Catnap uses Semantic Versioning, make sure to bump the version respectively.
To bump the version, use the versionctl tool which can be generated using:
# Generate versionctl tool
$ nim generate_versionctl
# List usage of versionctl tool
$ versionctlRemember to update the CHANGELOG.md file with any changes that impact end users.
.
├── config/
│ ├── config.toml # Main config
│ └── distros.toml # Distro art config
├── docs/ # Contains man docs
├── image/ # Contains all images for README.md
├── src/
│ ├── catnaplib/
│ │ ├── drawing/ # Files for rendering output
│ │ ├── generation/ # Files for generating output objects
│ │ ├── global/ # Files used globally
│ │ ├── platform/ # Files related to fetching system info
│ │ └── terminal/ # Files related to terminal stuff (Colors, Logging)
│ ├── extern/
│ │ ├── headers/ # Contains extern c++ headers (hpp)
│ │ └── libraries/ # Contains extern libs
│ └── catnap.nim # Entry src file
├── scripts/ # Test Scripts etc.
├── config.nims # nim install, nim debug, ...
└── CHANGELOG.md # Changelog for current development version (versionctl print)
- Add the distro's logo in the default
distros.tomlin theconfig/folder. Please arrange the distro in alphabetical order. - In
src/catnaplib/global/definitions.nim, go to thePKGMANAGERSsection. - According to the name of the distro in
config/distros.toml, put a new line like this:
"name of distro": "name of package manager",- If your distro's package manager is already in the
PKGCOUNTCOMMANDSsection, skip the next step. - Put your distro's package manager in the
PKGCOUNTCOMMANDSsection like this:
"name of package manager": "command to get number of packages",- Submit a pull request to the Catnap repo.