Skip to content

Commit 14d226e

Browse files
committed
Update rvpacker-lib calls
1 parent cfd08b1 commit 14d226e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/main.rs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,7 @@ fn main() {
598598
output_path,
599599
romanize_flag,
600600
logging_flag,
601+
engine_type,
601602
processing_mode,
602603
ignore_flag,
603604
);
@@ -704,6 +705,9 @@ fn main() {
704705
exit(0);
705706
}
706707

708+
let mut ignore_map: IgnoreMap = IgnoreMap::default();
709+
let mut stat_vec: Vec<(String, String)> = Vec::new();
710+
707711
if !disable_maps_processing {
708712
purge_map(
709713
original_path,
@@ -717,6 +721,8 @@ fn main() {
717721
leave_filled,
718722
purge_empty,
719723
create_ignore,
724+
&mut ignore_map,
725+
&mut stat_vec,
720726
);
721727
}
722728

@@ -732,6 +738,8 @@ fn main() {
732738
leave_filled,
733739
purge_empty,
734740
create_ignore,
741+
&mut ignore_map,
742+
&mut stat_vec,
735743
);
736744
}
737745

@@ -746,6 +754,8 @@ fn main() {
746754
leave_filled,
747755
purge_empty,
748756
create_ignore,
757+
&mut ignore_map,
758+
&mut stat_vec,
749759
);
750760
}
751761

@@ -760,6 +770,8 @@ fn main() {
760770
leave_filled,
761771
purge_empty,
762772
create_ignore,
773+
&mut ignore_map,
774+
&mut stat_vec,
763775
)
764776
} else {
765777
purge_scripts(
@@ -771,9 +783,19 @@ fn main() {
771783
leave_filled,
772784
purge_empty,
773785
create_ignore,
786+
&mut ignore_map,
787+
&mut stat_vec,
774788
);
775789
}
776790
}
791+
792+
if create_ignore {
793+
write_ignore(ignore_map, output_path);
794+
}
795+
796+
if stat {
797+
write_stat(stat_vec, output_path);
798+
}
777799
}
778800
"json" => {
779801
use json::*;

0 commit comments

Comments
 (0)