forked from JetBrains/intellij-community
-
-
Notifications
You must be signed in to change notification settings - Fork 182
Expand file tree
/
Copy pathinstallers.cmd
More file actions
executable file
·30 lines (22 loc) · 761 Bytes
/
Copy pathinstallers.cmd
File metadata and controls
executable file
·30 lines (22 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
:<<"::CMDLITERAL"
@ECHO OFF
GOTO :CMDSCRIPT
::CMDLITERAL
# installer.cmd builds IDEA Community installers
# THIS SCRIPTS WORKS FOR ALL SYSTEMS Linux/Windows/macOS
# See README.md for usage scenarios
# Arguments are passed as JVM options
# and used in org.jetbrains.intellij.build.BuildOptions
# Pass --debug to suspend and wait for debugger at port 5005
set -eu
root="$(cd "$(dirname "$0")"; pwd)"
exec "$root/build/run_build_target.sh" "$root" //build:i_build_target "$@"
:CMDSCRIPT
set "ROOT=%~dp0"
set "ROOT=%ROOT:~0,-1%"
"%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe" ^
-NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass ^
-File "%~dp0build\run_build_target.ps1" ^
"%ROOT%" ^
"@community//build:i_build_target" ^
%*