mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 12:38:30 +00:00
48 lines
948 B
Groff
48 lines
948 B
Groff
.TH DCR-RUN 1 "2026-06-02" "dcr 0.7.0" "DCR Manual"
|
|
.SH NAME
|
|
dcr-run \- Build and run a DCR project
|
|
.SH SYNOPSIS
|
|
.B dcr run
|
|
[\fB\-\-debug\fR | \fB\-\-release\fR]
|
|
[\fB\-\-target\fR \fI<triple>\fR]
|
|
[\fB\-\-force\fR]
|
|
[\fB\-\-clean\fR]
|
|
[\fB\-\-verbose\fR]
|
|
[\fB\-\-\fR \fI<args>...\fR]
|
|
.SH DESCRIPTION
|
|
Builds and runs the project. Only available for projects with
|
|
\fBkind = "bin"\fR.
|
|
Arguments after a bare
|
|
.B \-\-
|
|
are forwarded to the built binary (cargo-style).
|
|
.SH OPTIONS
|
|
.TP
|
|
.B \-\-debug
|
|
Run with debug profile (default).
|
|
.TP
|
|
.B \-\-release
|
|
Run with release profile.
|
|
.TP
|
|
.B \-\-target \fI<triple>\fR
|
|
Cross-compile for the given target.
|
|
.TP
|
|
.B \-\-force
|
|
Force a full rebuild.
|
|
.TP
|
|
.B \-\-clean
|
|
Clean before building.
|
|
.TP
|
|
.B \-\-verbose
|
|
Print detailed build output.
|
|
.TP
|
|
.B \-\- \fI<args>...\fR
|
|
Arguments passed to the built binary.
|
|
.SH EXAMPLES
|
|
.nf
|
|
dcr run --release -- --test_help
|
|
dcr run -- --foo bar
|
|
.fi
|
|
.SH SEE ALSO
|
|
.BR dcr (1),
|
|
.BR dcr-build (1)
|