Skip to content

Commit a6dc446

Browse files
Fix linux bundle
1 parent 73dd9aa commit a6dc446

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

desktop/bundle/src/linux.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ pub fn main() -> Result<(), Box<dyn std::error::Error>> {
1212
eprintln!("Binary built and placed at {}", app_bin.to_string_lossy());
1313
eprintln!("Bundling for Linux is not yet implemented.");
1414
eprintln!("You can still start the app with the `open` subcommand. `cargo run -p graphite-desktop-bundle -- open`");
15-
std::process::exit(1);
1615
}
1716

1817
Ok(())

tools/building/src/deps.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ fn dependencies(task: &Task) -> Vec<Dependency> {
7070
command: "cmake",
7171
args: &["--version"],
7272
name: "CMake",
73-
skip: Some(&|task| !matches!(task.target, Target::Desktop)),
73+
skip: Some(&|task| !matches!(task.target, Target::Desktop) || cfg!(target_os = "linux")),
7474
..Default::default()
7575
},
7676
Dependency {
7777
command: "ninja",
7878
args: &["--version"],
7979
name: "Ninja",
80-
skip: Some(&|task| !matches!(task.target, Target::Desktop) || !cfg!(target_os = "windows")),
80+
skip: Some(&|task| !matches!(task.target, Target::Desktop) || cfg!(target_os = "linux")),
8181
..Default::default()
8282
},
8383
]

0 commit comments

Comments
 (0)