Files
openide/build/jpsModelToBazelCommunityOnly.cmd
Leonid Shalupov 719c314f78 bazel: fix running jpsToBazel from the community repository only
GitOrigin-RevId: f1077ab09a4481a49d1d9901b150d3d22d32acb1
2025-07-25 00:15:29 +00:00

23 lines
457 B
Batchfile
Executable File

:<<"::CMDLITERAL"
@ECHO OFF
GOTO :CMDSCRIPT
::CMDLITERAL
set -eu
export RUN_WITHOUT_ULTIMATE_ROOT=true
script_dir="$(cd "$(dirname "$0")"; pwd)"
cd "$script_dir/../platform/build-scripts/bazel"
exec /bin/bash "../../../bazel.cmd" run "$@" //:jps-to-bazel
:CMDSCRIPT
set RUN_WITHOUT_ULTIMATE_ROOT=true
pushd "%~dp0..\platform\build-scripts\bazel"
call "..\..\..\bazel.cmd" run //:jps-to-bazel <nul
set _exit_code=%ERRORLEVEL%
popd
EXIT /B %_exit_code%