Browse Source

Revert println! to eprintln!

pull/21/head
Steve Cook 2 years ago
parent
commit
ef6a2f6724
  1. 2
      src/lib.rs
  2. 8
      src/main.rs

2
src/lib.rs

@ -292,7 +292,7 @@ pub fn build_3dsx(config: &CTRConfig) { @@ -292,7 +292,7 @@ pub fn build_3dsx(config: &CTRConfig) {
// If romfs directory exists, automatically include it
let (romfs_path, is_default_romfs) = get_romfs_path(config);
if romfs_path.is_dir() {
println!("Adding RomFS from {}", romfs_path.display());
eprintln!("Adding RomFS from {}", romfs_path.display());
process = process.arg(format!("--romfs={}", romfs_path.to_string_lossy()));
} else if !is_default_romfs {
eprintln!(

8
src/main.rs

@ -24,17 +24,17 @@ fn main() { @@ -24,17 +24,17 @@ fn main() {
return;
}
println!("Getting metadata");
eprintln!("Getting metadata");
let app_conf = get_metadata(&messages);
println!("Building smdh:{}", app_conf.path_smdh().display());
eprintln!("Building smdh:{}", app_conf.path_smdh().display());
build_smdh(&app_conf);
println!("Building 3dsx: {}", app_conf.path_3dsx().display());
eprintln!("Building 3dsx: {}", app_conf.path_3dsx().display());
build_3dsx(&app_conf);
if should_link {
println!("Running 3dslink");
eprintln!("Running 3dslink");
link(&app_conf);
}
}

Loading…
Cancel
Save