summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/modules/redisjson
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/modules/redisjson')
-rw-r--r--examples/redis-unstable/modules/redisjson/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/redis-unstable/modules/redisjson/Makefile b/examples/redis-unstable/modules/redisjson/Makefile
new file mode 100644
index 0000000..a3c49c5
--- /dev/null
+++ b/examples/redis-unstable/modules/redisjson/Makefile
@@ -0,0 +1,11 @@
+SRC_DIR = src
+MODULE_VERSION = v8.5.90
+MODULE_REPO = https://github.com/redisjson/redisjson
+TARGET_MODULE = $(SRC_DIR)/bin/$(FULL_VARIANT)/rejson.so
+
+include ../common.mk
+
+$(SRC_DIR)/.cargo_fetched:
+ cd $(SRC_DIR) && cargo fetch
+
+get_source: $(SRC_DIR)/.cargo_fetched