mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 17:29:36 +00:00
- `dcr gen` command for IDE integration and build tool support
- `dcr gen project-info`: Output project metadata as JSON
- `dcr gen compile-commands`: Generate `compile_commands.json` for clangd and clang-tidy
- `dcr gen vscode`: Generate VS Code `.vscode/` integration (launch.json, tasks.json, settings.json)
- `dcr gen clion`: Generate JetBrains CLion `.idea/` integration (run configurations, build targets)
- Full workspace support for all `gen` subcommands
615 B
615 B
dcr clean
Removes build artifacts in target/.
Usage
dcr clean
dcr clean --debug
dcr clean --release
dcr clean --all
dcr clean --release --all
Behavior
- Without arguments: removes entire
target/. - With profile: removes only
target/<profile>/. - With
--all: also cleans all workspace members. - Additionally removes paths from
build.cleanif configured. build.cleansupports{profile}and version placeholders.
Validation
dcr.tomlmust exist.- Unknown flags are treated as error.
- If
targetor selected profile directory does not exist, command prints a warning.