Skip to content

Commit 70384c6

Browse files
Update build-statics.cmd
1 parent 310abc3 commit 70384c6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scripts/build-statics.cmd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,12 @@ if not exist "%PLUGINS_DIR%\redisearch" mkdir "%PLUGINS_DIR%\redisearch"
2020
if not exist "%PLUGINS_DIR%\redisearch\dist" mkdir "%PLUGINS_DIR%\redisearch\dist"
2121
xcopy "%REDISEARCH_DIR%\dist" "%PLUGINS_DIR%\redisearch\dist\" /s /e /y
2222
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\"

0 commit comments

Comments
 (0)