From 08f3488f8d4f065b86b76571420a443989a8e3ef Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 16 Dec 2023 11:44:55 +0100 Subject: [PATCH] make the scu build always generate 1 file per unit. --- scu_builders.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scu_builders.py b/scu_builders.py index a00940a..6701d6a 100644 --- a/scu_builders.py +++ b/scu_builders.py @@ -196,13 +196,13 @@ def process_folder(folders, sought_exceptions=[], includes_per_scu=0, extension= # adjust number of output files according to whether DEV or release num_output_files = 1 - if _is_release_build: - # always have a maximum in release - includes_per_scu = 8 - num_output_files = max(math.ceil(total_lines / includes_per_scu), 1) - else: - if includes_per_scu > 0: - num_output_files = max(math.ceil(total_lines / includes_per_scu), 1) + #if _is_release_build: + # # always have a maximum in release + # includes_per_scu = 8 + # num_output_files = max(math.ceil(total_lines / includes_per_scu), 1) + #else: + # if includes_per_scu > 0: + # num_output_files = max(math.ceil(total_lines / includes_per_scu), 1) # error condition if total_lines == 0: