Browse Source

old-catalog is moved

default_compile_flags
vector-of-bool 4 years ago
parent
commit
4840a02263
3 changed files with 2 additions and 2 deletions
  1. +0
    -0
      old-catalog.json
  2. +1
    -1
      tests/deps/deps_test.py
  3. +1
    -1
      tools/ci.py

catalog.json → old-catalog.json View File


+ 1
- 1
tests/deps/deps_test.py View File





def get_default_pkg_versions(pkg: str) -> Sequence[str]: def get_default_pkg_versions(pkg: str) -> Sequence[str]:
catalog_json = Path(__file__).resolve().parent.parent.parent / 'catalog.json'
catalog_json = Path(__file__).resolve().parent.parent.parent / 'old-catalog.json'
catalog_dict = json.loads(catalog_json.read_text()) catalog_dict = json.loads(catalog_json.read_text())
return list(catalog_dict['packages'][pkg].keys()) return list(catalog_dict['packages'][pkg].keys())



+ 1
- 1
tools/ci.py View File

paths.PREBUILT_DDS, paths.PREBUILT_DDS,
toolchain=opts.toolchain, toolchain=opts.toolchain,
cat_path=old_cat_path, cat_path=old_cat_path,
cat_json_path=Path('catalog.json'),
cat_json_path=Path('old-catalog.json'),
dds_flags=[('--repo-dir', ci_repo_dir)]) dds_flags=[('--repo-dir', ci_repo_dir)])
print('Main build PASSED!') print('Main build PASSED!')
print(f'A `dds` executable has been generated: {paths.CUR_BUILT_DDS}') print(f'A `dds` executable has been generated: {paths.CUR_BUILT_DDS}')

Loading…
Cancel
Save