1 Star 1 Fork 0

openComplianceCode / scancode-toolkit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
scancode.bat 1.19 KB
一键复制 编辑 原始数据 按行查看 历史
郑志鹏 提交于 2022-01-27 18:28 . first commit
@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/scancode-toolkit for support or download.
@rem See https://aboutcode.org for more information about nexB OSS projects.
@rem A wrapper to ScanCode command line entry point
set SCANCODE_ROOT_DIR=%~dp0
set SCANCODE_CONFIGURED_PYTHON=%SCANCODE_ROOT_DIR%Scripts\python.exe
if not exist "%SCANCODE_CONFIGURED_PYTHON%" goto configure
goto scancode
:configure
echo * Configuring ScanCode for first use...
echo * WARNING: Native Windows may be deprecated in the future in favor of Windows Subsystem for Linux 2
echo * WARNING: Please visit https://github.com/nexB/scancode-toolkit/issues/2366 for details and to provide feedback
set CONFIGURE_QUIET=-qq
call "%SCANCODE_ROOT_DIR%configure"
@rem Return a proper return code on failure
if %errorlevel% neq 0 (
exit /b %errorlevel%
)
:scancode
@rem without this things may not always work on Windows 10, but this makes things slower
set PYTHONDONTWRITEBYTECODE=1
"%SCANCODE_ROOT_DIR%Scripts\scancode" %*
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openComplianceCode/scancode-toolkit.git
git@gitee.com:openComplianceCode/scancode-toolkit.git
openComplianceCode
scancode-toolkit
scancode-toolkit
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891