mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 08:58:35 +00:00
822 B
822 B
Build and run
Build
Debug (default):
dcr build
# or
dcr build --debug
dcr build --debug --clean
Release:
dcr build --release
Run
dcr run
# or
dcr run --release
dcr run --release --force
dcr run first builds, then launches the produced binary.
Clean artifacts
dcr clean
Profile-only cleanup:
dcr clean --debug
dcr clean --release
dcr clean --all
dcr clean --release --all
Notes
runis unavailable forbuild.kind = "staticlib"andbuild.kind = "sharedlib".- Build profile flag (
--debug/--release) can be passed in any argument position. - Unknown profile flags produce an error.
- In workspace root,
clean --allcleans all member projects. --cleanforbuild/runremovestarget/<profile>and paths frombuild.clean.