Revision d49925b8
Added by koszko over 1 year ago
src/hydrilla/builder/build.py | ||
---|---|---|
251 | 251 |
script_file_refs = [self._process_file(f['file']) |
252 | 252 |
for f in item_def.get('scripts', [])] |
253 | 253 |
|
254 |
deps = [{'identifier': res_ref['identifier']} |
|
255 |
for res_ref in item_def.get('dependencies', [])] |
|
256 |
|
|
254 | 257 |
new_item_obj = { |
255 |
'dependencies': item_def.get('dependencies', []),
|
|
258 |
'dependencies': deps,
|
|
256 | 259 |
'scripts': script_file_refs |
257 | 260 |
} |
258 | 261 |
else: |
src/hydrilla/schemas | ||
---|---|---|
1 |
Subproject commit c72c8438875d20b156d22d975523a19bbb407d95 |
|
1 |
Subproject commit 15d58dac1975a5429f9d1223676dddc1026b2a75 |
src/test/source-package-example | ||
---|---|---|
1 |
Subproject commit e571b3911f198e3feccc8d06390c79131f9cf09d |
|
1 |
Subproject commit 26c4622417cb786825b1b18083adfe5ce44b2756 |
src/test/test_hydrilla_builder.py | ||
---|---|---|
73 | 73 |
'version': [2021, 11, 10], |
74 | 74 |
'revision': 1, |
75 | 75 |
'description': 'greets an apple', |
76 |
'dependencies': ['hello-message'],
|
|
76 |
'dependencies': [{'identifier': 'hello-message'}],
|
|
77 | 77 |
'scripts': [{ |
78 | 78 |
'file': 'hello.js', |
79 | 79 |
'sha256': self.sha256_hashes['hello.js'] |
Also available in: Unified diff
make resource dependency specifier an object