kibana/bin/kibana.bat
2018-08-03 06:53:54 -05:00

22 lines
314 B
Batchfile
Executable file

@echo off
SETLOCAL
set SCRIPT_DIR=%~dp0
for %%I in ("%SCRIPT_DIR%..") do set DIR=%%~dpfI
set NODE=%DIR%\node\node.exe
set NODE_ENV="production"
If Not Exist "%NODE%" (
Echo unable to find usable node.js executable.
Exit /B 1
)
"%NODE%" %NODE_OPTIONS% --no-warnings "%DIR%\src\cli" %*
:finally
ENDLOCAL