aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkhint6
-rwxr-xr-xtests/mkhint_test.sh1
2 files changed, 7 insertions, 0 deletions
diff --git a/mkhint b/mkhint
index b0a7705..5795fb0 100755
--- a/mkhint
+++ b/mkhint
@@ -26,6 +26,12 @@ NVCHECKER_CONFIG="$HOME/.config/nvchecker/nvchecker.toml"
# Missing file = empty list = phantom-dep handling is a no-op.
PHANTOM_DEPS_FILE="$HOME/.config/mkhint/phantom-deps"
+# Packages whose extra DOWNLOAD lines are driven by an upstream deps manifest
+# (e.g. neovim's cmake.deps/deps.txt). One entry per line:
+# <pkgname> <deps-url-template-with-{VERSION}>
+# Missing file = empty list = feature is a no-op.
+BUNDLE_MANIFEST_FILE="$HOME/.config/mkhint/bundle-manifests"
+
# Built-package repository (slackrepo output tree: <cat>/<pkg>/<pkg>-*.txz).
PACKAGES_DIR="/repo/"
diff --git a/tests/mkhint_test.sh b/tests/mkhint_test.sh
index 18f0e43..837289a 100755
--- a/tests/mkhint_test.sh
+++ b/tests/mkhint_test.sh
@@ -199,6 +199,7 @@ run_mkhint() {
-e "s|TMP_DIR=\".*\"|TMP_DIR=\"$MOCK_TMP\"|" \
-e "s|NVCHECKER_CONFIG=\".*\"|NVCHECKER_CONFIG=\"$MOCK_BASE/nvchecker.toml\"|" \
-e "s|PHANTOM_DEPS_FILE=\".*\"|PHANTOM_DEPS_FILE=\"$MOCK_BASE/phantom-deps\"|" \
+ -e "s|BUNDLE_MANIFEST_FILE=\".*\"|BUNDLE_MANIFEST_FILE=\"$MOCK_BASE/bundle-manifests\"|" \
-e "s|PACKAGES_DIR=\".*\"|PACKAGES_DIR=\"$MOCK_PKGS\"|" \
-e "s|MKHINT_CONFIG=\".*\"|MKHINT_CONFIG=\"$MOCK_BASE/config\"|" \
"$SCRIPT" > "$tmp_script"