diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-02-09 17:04:55 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-02-09 17:04:55 +0100 |
commit | d49925b8d17d206a8edf5b537b64c2055dc697c4 (patch) | |
tree | fc669aaa3cafd55304006344b98c7ef8b654234c /src/hydrilla/builder/build.py | |
parent | fd38a0e1dd3dbe0de365e938ac3dca3bee4320dd (diff) | |
download | hydrilla-builder-d49925b8d17d206a8edf5b537b64c2055dc697c4.tar.gz hydrilla-builder-d49925b8d17d206a8edf5b537b64c2055dc697c4.zip |
make resource dependency specifier an object
Diffstat (limited to 'src/hydrilla/builder/build.py')
-rw-r--r-- | src/hydrilla/builder/build.py | 5 |
1 files changed, 4 insertions, 1 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: |