bomper
bomper is a CLI tool that replaces the contents of multiple files specified by bomp.toml.
The intended use is to update version strings that are hardcoded into project files.
A bomp.toml will be provided by the project containing paths to files that need to be updated.
If the operation fails then no files will be changed.
This can then be combined with a separate tool, such as a pre bump hook in Cocogitto's cog.toml.
usage
Run the command with the args --help to view the instructions.
Contributing
The main dependency for working on this project is nix.
To work on this project first ensure that Nix: the package manager is available on your system.
A flake.nix is provided for configuring a development environment.
To use this, enter a dev shell: nix develop
dev shell
The provided shell will include the dependencies needed for development.
features
- Cocogitto is included to generate a CHANGELOG.md based on commit messages
- pre-commit-hooks.nix are configured to enforce code formatting
- rustfmt is included to allow using the
cargo fmtcommand
- rustfmt is included to allow using the