ScriptCollection 3.5.95__py3-none-any.whl → 3.5.96__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
33
33
  from .ProgramRunnerPopen import ProgramRunnerPopen
34
34
  from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
35
35
 
36
- version = "3.5.95"
36
+ version = "3.5.96"
37
37
  __version__ = version
38
38
 
39
39
 
@@ -2517,6 +2517,9 @@ class TasksForCommonProjectStructure:
2517
2517
  project_resources_folder = os.path.join(repository_folder, "Other", "Scripts")
2518
2518
  PrepareBuildCodeunits_script_name = "PrepareBuildCodeunits.py"
2519
2519
  prepare_build_codeunits_scripts = os.path.join(project_resources_folder, PrepareBuildCodeunits_script_name)
2520
+
2521
+ if do_git_clean_when_no_changes:
2522
+ self.__sc.run_program("git", "clean -dfx", repository_folder)
2520
2523
  if os.path.isfile(prepare_build_codeunits_scripts):
2521
2524
  GeneralUtilities.write_message_to_stdout(f'Run "{PrepareBuildCodeunits_script_name}"')
2522
2525
  result = self.__sc.run_program("python", f"{PrepareBuildCodeunits_script_name}", project_resources_folder, throw_exception_if_exitcode_is_not_zero=False, print_live_output=True)
@@ -2539,9 +2542,6 @@ class TasksForCommonProjectStructure:
2539
2542
  if contains_uncommitted_changes_at_begin:
2540
2543
  if is_pre_merge:
2541
2544
  raise ValueError(f'Repository "{repository_folder}" has uncommitted changes.')
2542
- else:
2543
- if do_git_clean_when_no_changes:
2544
- self.__sc.run_program("git", "clean -dfx", repository_folder)
2545
2545
  codeunit_subfolders = [os.path.join(repository_folder, codeunit) for codeunit in codeunits]
2546
2546
  codeunits_with_dependent_codeunits: dict[str, set[str]] = dict[str, set[str]]()
2547
2547
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ScriptCollection
3
- Version: 3.5.95
3
+ Version: 3.5.96
4
4
  Summary: The ScriptCollection is the place for reusable scripts.
5
5
  Home-page: https://github.com/anionDev/ScriptCollection
6
6
  Author: Marius Göcke
@@ -6,12 +6,12 @@ ScriptCollection/ProgramRunnerEpew.py,sha256=4pjEd0r9Fcz3TTDv0MdTSd5KkigYXcWUVI1
6
6
  ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
7
7
  ScriptCollection/RPStream.py,sha256=NRRHL3YSP3D9MuAV2jB_--0KUKCsvJGxeKnxgrRZ9kY,1545
8
8
  ScriptCollection/SCLog.py,sha256=l4aekBiGoNkKGtvO_Er3NY_K7ts4ZWtIGlhq07I-4LY,30
9
- ScriptCollection/ScriptCollectionCore.py,sha256=BNaVHYzgDngTNPvdu1RmI5CcoBYXa5eER6MbOG9ECZA,123973
10
- ScriptCollection/TasksForCommonProjectStructure.py,sha256=WLpk9nRa6p_fFCHTJ3YO8mOxyrs1D8V2CuXem38qi84,226908
9
+ ScriptCollection/ScriptCollectionCore.py,sha256=sE3JQsihlPzn_X9RpGm3D5_Ydk_HU1xEXsijk-hH3YE,123973
10
+ ScriptCollection/TasksForCommonProjectStructure.py,sha256=0rCSZo4dDHw3io-szTqg7_TPO69w9Na4fUZnmr0Ma5I,226895
11
11
  ScriptCollection/UpdateCertificates.py,sha256=Eynbgu7k9jLxApP2D_8Il77B6BFjJap6K7oTeEAZYbk,7790
12
12
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
- scriptcollection-3.5.95.dist-info/METADATA,sha256=vVDkmhbE3EFINXPutGygcmV-cNd_sEKd0AFPwvsSF8g,7664
14
- scriptcollection-3.5.95.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
15
- scriptcollection-3.5.95.dist-info/entry_points.txt,sha256=fYCGWGNGijBQHhFe6UAO-BEpfEOxLyNJemukt5ElSzs,3644
16
- scriptcollection-3.5.95.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
17
- scriptcollection-3.5.95.dist-info/RECORD,,
13
+ scriptcollection-3.5.96.dist-info/METADATA,sha256=hOQCtb5sBGidwxEWuf9k6GeIw5AP7_PV_g2oP92aZU8,7664
14
+ scriptcollection-3.5.96.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
15
+ scriptcollection-3.5.96.dist-info/entry_points.txt,sha256=fYCGWGNGijBQHhFe6UAO-BEpfEOxLyNJemukt5ElSzs,3644
16
+ scriptcollection-3.5.96.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
17
+ scriptcollection-3.5.96.dist-info/RECORD,,