The evo-crypter
project includes several utility scripts to help with building, testing, linting, and version management.
evo
executable.bash ./scripts/build.sh [build_directory] [build_type]
build_directory
(optional): Specifies the directory where build files will be placed. Defaults to build
.build_type
(optional): Specifies the CMake build type (e.g., Debug
, Release
, RelWithDebInfo
, MinSizeRel
). Defaults to Debug
.bash ./scripts/build.sh build Release
cppcheck
: Checks for common coding errors, memory leaks, undefined behavior, etc.clang-tidy
: Provides more in-depth static analysis and can enforce coding style guidelines.clang-format
: Checks code formatting against the project's style guide (and can automatically fix formatting issues).bash ./scripts/lint.sh
bash ./scripts/test.sh
version.txt
and optionally creates and pushes a Git tag.bash ./scripts/update_version.sh <new_version> [-y]
<new_version>
: The new version number in SemVer format (e.g., 0.2.0
).-y
: Optional flag to automatically answer "yes" to prompts about creating and pushing Git tags.bash ./scripts/update_version.sh 0.3.0 -y