From d49925b8d17d206a8edf5b537b64c2055dc697c4 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Wed, 9 Feb 2022 17:04:55 +0100 Subject: make resource dependency specifier an object --- src/hydrilla/builder/build.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/hydrilla/builder') 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: -- cgit v1.2.3