aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hydrilla/builder/build.py5
m---------src/hydrilla/schemas0
m---------src/test/source-package-example0
-rw-r--r--src/test/test_hydrilla_builder.py2
4 files changed, 5 insertions, 2 deletions
diff --git a/src/hydrilla/builder/build.py b/src/hydrilla/builder/build.py
index 0044614..cdbfad3 100644
--- a/src/hydrilla/builder/build.py
+++ b/src/hydrilla/builder/build.py
@@ -251,8 +251,11 @@ class Build:
script_file_refs = [self._process_file(f['file'])
for f in item_def.get('scripts', [])]
+ deps = [{'identifier': res_ref['identifier']}
+ for res_ref in item_def.get('dependencies', [])]
+
new_item_obj = {
- 'dependencies': item_def.get('dependencies', []),
+ 'dependencies': deps,
'scripts': script_file_refs
}
else:
diff --git a/src/hydrilla/schemas b/src/hydrilla/schemas
-Subproject c72c8438875d20b156d22d975523a19bbb407d9
+Subproject 15d58dac1975a5429f9d1223676dddc1026b2a7
diff --git a/src/test/source-package-example b/src/test/source-package-example
-Subproject e571b3911f198e3feccc8d06390c79131f9cf09
+Subproject 26c4622417cb786825b1b18083adfe5ce44b275
diff --git a/src/test/test_hydrilla_builder.py b/src/test/test_hydrilla_builder.py
index f079d34..041a3f6 100644
--- a/src/test/test_hydrilla_builder.py
+++ b/src/test/test_hydrilla_builder.py
@@ -73,7 +73,7 @@ class CaseSettings:
'version': [2021, 11, 10],
'revision': 1,
'description': 'greets an apple',
- 'dependencies': ['hello-message'],
+ 'dependencies': [{'identifier': 'hello-message'}],
'scripts': [{
'file': 'hello.js',
'sha256': self.sha256_hashes['hello.js']