Sync source edition with VCC Plus 3.7.0 build 63
This commit is contained in:
1 parent
c652a5276d
commit
b2ecec4d87
86 files changed
+10519
-472
No files matched your search
@@ -17,6 +17,12 @@ RESOURCES = (
|
||||
('tools/catalog/package.py', 'tools/catalog/app-schema.sql', 'SoftwareLibrary/catalog.sqlite'),
|
||||
('tools/knowledge/package_archive.py', 'tools/knowledge/archive-library.sql', 'ArchiveLibrary/ArchiveLibrary.sqlite'),
|
||||
)
|
||||
CATALOG_PACKAGE_INPUTS = (
|
||||
'tools/catalog/related_archive.py',
|
||||
'tools/catalog/curation/related-archive.json',
|
||||
'tools/catalog/rights.py',
|
||||
'tools/catalog/submission_intake.py',
|
||||
)
|
||||
|
||||
|
||||
class BuildContentTests(unittest.TestCase):
|
||||
@@ -26,7 +32,8 @@ class BuildContentTests(unittest.TestCase):
|
||||
self.root = Path(temporary.name)
|
||||
self.source = self.root / 'Source With Spaces'
|
||||
self.build = self.root / 'Build With Spaces'
|
||||
for relative in ['tools/build_content.py', *(p for r in RESOURCES for p in r[:2])]:
|
||||
for relative in ['tools/build_content.py', *(p for r in RESOURCES for p in r[:2]),
|
||||
*CATALOG_PACKAGE_INPUTS]:
|
||||
destination = self.source / relative
|
||||
destination.parent.mkdir(parents=True, exist_ok=True)
|
||||
shutil.copyfile(ROOT / relative, destination)
|
||||
|
||||
Reference in new issue
Block a user