Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Add check for wget to Makefile #473

davidmezzetti3f225045b9d6
diff --git a/Makefile b/Makefile
index 6f2f7176..755ee070 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,12 @@ export TOKENIZERS_PARALLELISM := false
# Default python executable if not provided
PYTHON ?= python
+# Check for wget
+WGET := $(shell wget --version 2> /dev/null)
+ifndef WGET
+ $(error "Required binary `wget` not found, please install wget OS package")
+endif
+
# Download test data
data:
mkdir -p /tmp/txtai