aboutsummaryrefslogtreecommitdiff
path: root/games/anki/files/patch-build_runner_src_build.rs
blob: 1b53c3de14994480a3db87b5c4cdbf923e807bdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
* Make ninja build verbose
* Make cargo build for components of the build framework (= runner) more verbose

--- build/runner/src/build.rs.orig	2024-02-29 18:06:02 UTC
+++ build/runner/src/build.rs
@@ -57,6 +57,7 @@ pub fn run_build(args: BuildArgs) {
     let start_time = Instant::now();
     let mut command = Command::new(get_ninja_command());
     command
+        .arg("-v")
         .arg("-f")
         .arg(&build_file)
         .args(ninja_args)
@@ -150,7 +151,7 @@ fn bootstrap_build() {
 
 fn bootstrap_build() {
     let status = Command::new("cargo")
-        .args(["run", "-p", "configure"])
+        .args(["run", "-p", "configure", "--verbose"])
         .status();
     assert!(status.expect("ninja").success());
 }