FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
tracecode-toolkit/tracecode.bat at develop · aboutcode-org/tracecode-toolkit · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
aboutcode-org
/
tracecode-toolkit
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
5
Star
5
Code
Issues
3
Pull requests
2
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
tracecode-toolkit
/
tracecode.bat
Copy path
More file actions
More file actions
Latest commit
History
History
History
34 lines (26 loc) · 878 Bytes
Breadcrumbs
tracecode-toolkit
/
tracecode.bat
Copy path
File metadata and controls
34 lines (26 loc) · 878 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
31
32
33
34
@
echo
OFF
@
rem
Copyright (c) 2018 nexB Inc. http://www.nexb.com/ - All rights reserved.
@
rem
A minimal shell wrapper to the CLI entry point
set
TRACECODE_ROOT_DIR
=
%~dp0
@
rem
Use a trailing space in the next line to set the variable to an empty string
set
TRACECODE_CMD_LINE_ARGS
=
set
TRACECODE_CONFIGURED_PYTHON
=
%TRACECODE_ROOT_DIR%
\bin\python.exe
@
rem
Collect all command line arguments in a variable
:
collectarg
if
"
"
%1
"
"
==
"
"
"
"
goto
continue
call
set
TRACECODE_CMD_LINE_ARGS
=
%TRACECODE_CMD_LINE_ARGS%
%1
shift
goto
collectarg
:
continue
if
not
exist
"
%TRACECODE_CONFIGURED_PYTHON%
"
goto
configure
goto
tracecode
:
configure
echo
* Configuring TraceCode for first use...
set
CONFIGURE_QUIET
=
1
call
"
%TRACECODE_ROOT_DIR%
\configure
"
etc/conf
if
%errorlevel%
neq
0
(
exit
/b
%errorlevel%
)
:
tracecode
"
%TRACECODE_ROOT_DIR%
\bin\tracecode
"
%TRACECODE_CMD_LINE_ARGS%
:
EOS
Back
|
FazBrowse Home
|
New Git URL