Only check for --bundle flag in roc build

This commit is contained in:
Richard Feldman 2022-11-19 02:40:18 -05:00
parent 2fd59981e5
commit 1661c0c87f
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B

View file

@ -514,7 +514,7 @@ pub fn build(
process::exit(1);
}
if matches.is_present(FLAG_BUNDLE) {
if config == BuildConfig::BuildOnly && matches.is_present(FLAG_BUNDLE) {
let start_time = Instant::now();
// Rather than building an executable or library, we're building