beta-v2.2.0 #19
ChaseSunstrom
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
CForge Release
beta-v2.2.0New Commands
cforge watch— File Watching & Auto-RebuildAutomatically rebuild your project when source files change.
Features:
.cpp,.cc,.cxx,.c,.hpp,.hxx,.h,.tomlfilesbuild/,.git/,deps/,vendor/directories--runflag to execute after successful buildscforge bench— Benchmark RunnerRun performance benchmarks with Google Benchmark support.
Configuration (
cforge.toml):cforge tree— Dependency VisualizationVisualize your project's dependency tree with color-coded output.
Color Coding:
cforge new— Template GeneratorQuickly scaffold new files from templates.
Available Templates:
class,header,struct,interface,test,maincforge doc— Documentation GenerationGenerate API documentation with Doxygen.
cforge lock— Reproducible BuildsManage dependency lock files for reproducible builds.
Best Practices:
cforge.lockto version controlcforge lock --verifyin CI pipelinescforge lockafter adding/updating dependenciescforge fmt— Code FormattingFormat source code with clang-format.
cforge lint— Static AnalysisRun static analysis with clang-tidy.
cforge completions— Shell CompletionsGenerate tab-completion scripts for your shell.
Build System Improvements
Extended Build Timeouts
Self-Build Protection
cforge.execouldn't rebuild itself while running--no-buildflag for packaging when build is already completeNew Dependency Hash Format
.cforge_dependency_hashestocforge.hashError Reporting Enhancements
Deduplicated Error Messages
GCC-UNDECLandCOMPILER-UNDECLAREDfor same error)Cleaner Output
→ Error details:prefixCode Quality & Compatibility
strncpywithsnprintfCI/CD Pipeline
Multi-Platform Support
Package Formats
Installation
Upgrade to
beta-v2.2.0:Full Command Reference
initbuildcleanruntestpackagedepsvcpkginstalladdremoveupdateidelistlockfmtlintwatchcompletionsdoctreenewbenchThis discussion was created from the release beta-v2.2.0.
Beta Was this translation helpful? Give feedback.
All reactions