зеркало из https://github.com/microsoft/SymCrypt.git
Merged PR 9299172: Rename package.json to SymCryptPackage.json
`package.json` is used by NPM and causes automated tooling to flag our repo as missing required files for NPM projects. Of course, we don't use NPM and our `package.json` is used to configure which build outputs are included in which SymCrypt packages. The simple fix is to just rename the file.
This commit is contained in:
Родитель
d0083ecb8e
Коммит
68e2a4a60d
|
@ -5,8 +5,8 @@ Packaging helper script for SymCrypt.
|
|||
NOTE: For Windows targets, this script only works with MSBuild builds, because CMake cannot build
|
||||
Windows kernel drivers.
|
||||
|
||||
This script reads the package configuration from package.json in the repo root, which contains a
|
||||
list of files in the following format:
|
||||
This script reads the package configuration from SymCryptPackage.json in the repo root, which
|
||||
contains a list of files in the following format:
|
||||
|
||||
{
|
||||
"source" : "...",
|
||||
|
@ -75,7 +75,7 @@ def get_file_list(bin_dir : pathlib.Path, config : str, module_name : str) -> Di
|
|||
}
|
||||
|
||||
file_list = []
|
||||
with open(source_dir / "package.json") as f:
|
||||
with open(source_dir / "SymCryptPackage.json") as f:
|
||||
file_json = json.load(f)
|
||||
|
||||
for file in file_json:
|
||||
|
|
Загрузка…
Ссылка в новой задаче