Skip to content

Commit 327388c

Browse files
authored
Allow setting --format when building for / running on a --device (#113)
It should be perfectly sensible to switch between `aab` and `apk` formats while still using `--device` to build for and install the resulting package on a specific connected device.
1 parent bf478ad commit 327388c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xbuild/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,12 +386,12 @@ pub struct BuildTargetArgs {
386386
arch: Option<Arch>,
387387
/// Build artifacts for target device. To find the device
388388
/// identifier of a connected device run `x devices`.
389-
#[clap(long, conflicts_with = "format", conflicts_with = "store")]
389+
#[clap(long, conflicts_with = "store")]
390390
device: Option<Device>,
391391
/// Build artifacts with format. Can be one of `aab`,
392392
/// `apk`, `appbundle`, `appdir`, `appimage`, `dmg`,
393393
/// `exe`, `ipa`, `msix`.
394-
#[clap(long, conflicts_with = "device", conflicts_with = "store")]
394+
#[clap(long, conflicts_with = "store")]
395395
format: Option<Format>,
396396
/// Build artifacts for target app store. Can be one of
397397
/// `apple`, `microsoft`, `play` or `sideload`.

0 commit comments

Comments
 (0)