FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
extractcode/extractcode.bat at main · aboutcode-org/extractcode · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
aboutcode-org
/
extractcode
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
23
Star
39
Code
Issues
43
Pull requests
12
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
extractcode
/
extractcode.bat
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (24 loc) · 1019 Bytes
Breadcrumbs
extractcode
/
extractcode.bat
Copy path
File metadata and controls
32 lines (24 loc) · 1019 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
@
echo
OFF
@
rem
Copyright (c) nexB Inc. and others. All rights reserved.
@
rem
SPDX-License-Identifier: Apache-2.0
@
rem
See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
@
rem
ScanCode is a trademark of nexB Inc.
@
rem
See https://github.com/nexB/extractcode for support or download.
@
rem
See https://aboutcode.org for more information about nexB OSS projects.
@
rem
A wrapper to ExtractCode command line entry point
set
EXTRACTCODE_ROOT_DIR
=
%~dp0
set
EXTRACTCODE_CONFIGURED_PYTHON
=
%EXTRACTCODE_ROOT_DIR%
Scripts\python.exe
if
not
exist
"
%EXTRACTCODE_CONFIGURED_PYTHON%
"
goto
configure
goto
extractcode
:
configure
echo
* Configuring ExtractCode for first use...
set
CONFIGURE_QUIET
=
1
call
"
%EXTRACTCODE_ROOT_DIR%
configure
"
@
rem
Return a proper return code on failure
if
%errorlevel%
neq
0
(
exit
/b
%errorlevel%
)
:
extractcode
@
rem
without this things may not always work on Windows 10, but this makes things slower
set
PYTHONDONTWRITEBYTECODE
=
1
"
%EXTRACTCODE_ROOT_DIR%
Scripts\extractcode
"
%*
Back
|
FazBrowse Home
|
New Git URL