218986c07e
* Use separate startup scripts for development and production * build kibana directly * [build] Use downloaded node when pre-optimizing * clearer variable name * Add breaking changes docs
21 lines
340 B
Batchfile
Executable file
21 lines
340 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
|
|
)
|
|
|
|
TITLE Kibana Server
|
|
"%NODE%" %NODE_OPTIONS% --no-warnings "%DIR%\src\cli_plugin" %*
|
|
|
|
:finally
|
|
|
|
ENDLOCAL
|