File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -20,3 +20,12 @@ if not exist "%PLUGINS_DIR%\redisearch" mkdir "%PLUGINS_DIR%\redisearch"
20
20
if not exist " %PLUGINS_DIR% \redisearch\dist" mkdir " %PLUGINS_DIR% \redisearch\dist"
21
21
xcopy " %REDISEARCH_DIR% \dist" " %PLUGINS_DIR% \redisearch\dist\" /s /e /y
22
22
copy " %REDISEARCH_DIR% \package.json" " %PLUGINS_DIR% \redisearch\"
23
+
24
+ :: Build redisgraph plugin
25
+ set REDISGRAPH_DIR = " .\redisinsight\ui\src\packages\redisgraph"
26
+ call yarn --cwd " %REDISGRAPH_DIR% "
27
+ call yarn --cwd " %REDISGRAPH_DIR% " build
28
+ if not exist " %PLUGINS_DIR% \redisgraph" mkdir " %PLUGINS_DIR% \redisgraph"
29
+ if not exist " %PLUGINS_DIR% \redisgraph\dist" mkdir " %PLUGINS_DIR% \redisgraph\dist"
30
+ xcopy " %REDISGRAPH_DIR% \dist" " %PLUGINS_DIR% \redisgraph\dist\" /s /e /y
31
+ copy " %REDISGRAPH_DIR% \package.json" " %PLUGINS_DIR% \redisgraph\"
Original file line number Diff line number Diff line change @@ -18,3 +18,10 @@ yarn --cwd "${REDISEARCH_DIR}"
18
18
yarn --cwd " ${REDISEARCH_DIR} " build
19
19
mkdir -p " ${PLUGINS_DIR} /redisearch"
20
20
cp -R " ${REDISEARCH_DIR} /dist" " ${REDISEARCH_DIR} /package.json" " ${PLUGINS_DIR} /redisearch"
21
+
22
+ # Build redisgraph plugin
23
+ REDISGRAPH_DIR=" ./redisinsight/ui/src/packages/redisgraph"
24
+ yarn --cwd " ${REDISGRAPH_DIR} "
25
+ yarn --cwd " ${REDISGRAPH_DIR} " build
26
+ mkdir -p " ${PLUGINS_DIR} /redisgraph"
27
+ cp -R " ${REDISGRAPH_DIR} /dist" " ${REDISGRAPH_DIR} /package.json" " ${PLUGINS_DIR} /redisgraph"
You can’t perform that action at this time.
0 commit comments