pre-commit: fix path to cache generator

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8273>
This commit is contained in:
Mathieu Duponchelle 2025-01-09 20:20:01 +01:00
parent f7ea1f84c9
commit 72f380c739

View file

@ -118,7 +118,7 @@ def build_cache(builddir, subproject, targets):
print (f'Rebuilding {subproject} cache with changes from {targets}')
cmd = [
os.path.join(builddir, f'subprojects/{subproject}/docs/gst-plugins-doc-cache-generator'),
os.path.join(builddir, f'subprojects/gstreamer/docs/gst-plugins-doc-cache-generator'),
os.path.join(os.getcwd(), f'subprojects/{subproject}/docs/plugins/gst_plugins_cache.json'),
os.path.join(builddir, f'subprojects/{subproject}/docs/gst_plugins_cache.json'),
] + targets