Pārlūkot izejas kodu

Check that sdist exports are limited to relevant files

default_compile_flags
vector-of-bool pirms 4 gadiem
vecāks
revīzija
8814945ece
2 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      tests/sdist/create/other-file.txt
  2. +3
    -0
      tests/sdist/sdist_test.py

+ 1
- 0
tests/sdist/create/other-file.txt Parādīt failu

@@ -0,0 +1 @@
This file will not be in the source distribution!

+ 3
- 0
tests/sdist/sdist_test.py Parādīt failu

@@ -22,3 +22,6 @@ def test_import_sdist_archive(dds: DDS):
assert not repo_content_path.is_dir()
dds.repo_import(dds.build_dir / 'foo@1.2.3.tar.gz')
assert repo_content_path.is_dir()
assert repo_content_path.joinpath('library.jsonc').is_file()
# Excluded file will not be in the sdist:
assert not repo_content_path.joinpath('other-file.txt').is_file()

Notiek ielāde…
Atcelt
Saglabāt