Unverified Commit 36fff89b authored by Marius Göcke's avatar Marius Göcke
Browse files

refactored management of tessdata

parent aff24bc5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,3 +2,4 @@ Other/Resources/CycloneDXCLI
Other/Resources/PlantUML
Other/Resources/CA
Other/Resources/DevelopmentCertificate
Other/Resources/OCRData
+1 −0
Original line number Diff line number Diff line
ced78752cc61322fb554c280d13360b35b8684e4
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -3,4 +3,4 @@ Version;SupportBegin;SupportEnd
1.0.0;2025-06-29T00:00:00;2027-09-28T00:00:00
1.1.0;2025-07-10T00:00:00;2027-10-09T00:00:00
1.0.2;2025-08-07T00:00:00;2027-11-06T00:00:00
1.1.1;2025-08-10T00:00:00;2027-11-09T00:00:00
 No newline at end of file
1.2.0;2025-08-10T00:00:00;2027-11-09T00:00:00
 No newline at end of file
+3 −0
Original line number Diff line number Diff line
from pathlib import Path
import os
from ScriptCollection.GeneralUtilities import GeneralUtilities
from ScriptCollection.ScriptCollectionCore import ScriptCollectionCore
from ScriptCollection.TasksForCommonProjectStructure import TasksForCommonProjectStructure


@@ -8,6 +10,7 @@ def prepare_build_codeunits():
    current_file = str(Path(__file__).absolute())
    repository_folder = GeneralUtilities.resolve_relative_path("../../..", current_file)
    t.ensure_certificate_authority_for_development_purposes_is_generated(repository_folder)
    clone_repository_as_resource(t, repository_folder, "https://github.com/tesseract-ocr/tessdata", "OCRData", "tessdata")
    t.generate_certificate_for_development_purposes_for_product(repository_folder)
    t.generate_tasksfile_from_workspace_file(repository_folder)
    t.generate_codeunits_overview_diagram(repository_folder)
Loading