cbt-2024.05.19
I am thrilled to share the second public release of cbt
i.e. cbt-2024.05.19
!
This release primarily focused on supporting Windows
platform along with other minor bug fixes. For students/beginners, who only have access to a Windows
machine or don't know how to dual-boot their system, fret not! cbt
can now be easily used on Windows
.
Features
- Build, compile and test simply by invoking commands
- Use ready-made scaffold file content or customise/update it
- Use
cbt_tools
library AS IS or customise it as per project requirements
Note: Currently compiling and testing is unaware of timestamps, so invoking them will re-compile, and re-run tests for, all files. This is in the roadmap and will be rectified in a future release.
Installation
Note 1: Currently, binaries for only Ubuntu
and Windows
platforms are provided. For other platforms, refer to README.md
for instructions on building from source.
Note 2: cbt
relies on g++
for the underlying compilation mechanism. Ensure you have the GNU toolchain for your respective platform.
Steps
- Download the binary and the
<platform>.sha256.checksum.txt
for your respective platform - IMPORTANT: Ensure that the integrity of the binary is preserved by verifying it through the respective
<platform>.sha256.checksum.txt
file - Rename the binary to just
cbt
(orcbt.exe
onWindows
) - On
*nix
platform, move the binary to/opt
directory - On Windows, create a new folder
C:\CBT\
and move the binary under it - Update
PATH
accordingly for your respective platform - Run
cbt help
You are good to go!
Highlights
- Add support for Windows by @swar-mukh (5a9f538)
- Reduce binary size by half by @swar-mukh (fae55b1)
- Make starter script more maintainable by @swar-mukh (f27d1d1)
- Address an issue where the
build
directory may not be in sync withcbt
by @swar-mukh (810a4fe) - Add automated
SHA-256
hashing in build step by @swar-mukh (50a92b8)
Full Changelog: refer here