FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/javascript/resources/tools/autobuild.cmd at codeql-cli/v2.25.1 · github/codeql · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
github
/
codeql
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
10k
Code
Issues
998
Pull requests
466
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
javascript
/
resources
/
tools
/
autobuild.cmd
Copy path
More file actions
More file actions
Latest commit
History
History
History
30 lines (23 loc) · 921 Bytes
Breadcrumbs
codeql
/
javascript
/
resources
/
tools
/
autobuild.cmd
Copy path
File metadata and controls
30 lines (23 loc) · 921 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
@
echo
off
SETLOCAL
EnableDelayedExpansion
set
jvm_args
=
-Xss16m
rem
If CODEQL_RAM is set, use half for Java and half for TS.
if
NOT
[
%CODEQL_RAM%
]
==
[] (
set
/a
"
half_ram
=
CODEQL_RAM
/
2
"
set
LGTM_TYPESCRIPT_RAM
=
!half_ram!
set
jvm_args
=
!jvm_args!
-Xmx
!half_ram!
m
)
rem
If CODEQL_THREADS is set, propagate via LGTM_THREADS.
if
NOT
[
%CODEQL_THREADS%
]
==
[] (
set
LGTM_THREADS
=
%CODEQL_THREADS%
)
rem
The JS autobuilder expects to find typescript modules under SEMMLE_DIST/tools.
rem
They are included in the pack, but we need to set SEMMLE_DIST appropriately.
set
SEMMLE_DIST
=
%CODEQL_EXTRACTOR_JAVASCRIPT_ROOT%
rem
The JS autobuilder expects LGTM_SRC to be set to the source root.
set
LGTM_SRC
=
%CD%
type
NUL
&&
"
%CODEQL_JAVA_HOME%
\bin\java.exe
"
%jvm_args%
^
-cp
"
%CODEQL_EXTRACTOR_JAVASCRIPT_ROOT%
\tools\extractor-javascript.jar
"
^
com.semmle.js.extractor.AutoBuild
exit
/b
%ERRORLEVEL%
ENDLOCAL
Back
|
FazBrowse Home
|
New Git URL