Throw away intermediate files for view references

This commit is contained in:
Anthony Miyaguchi 2020-06-15 17:33:07 -07:00
Родитель 7b0f8d87ab
Коммит b417c1b325
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -3,6 +3,7 @@ import multiprocessing
from functools import partial
from pathlib import Path
import shutil
import tempfile
import tqdm
@ -97,7 +98,8 @@ def _view_dryrun(view_root, view):
def resolve_view_references(view_listing, project_root):
view_root = ensure_folder(project_root / "views")
# we don't really care about intermediate files
view_root = Path(tempfile.mkdtemp())
pool = multiprocessing.Pool(MAX_CONCURRENCY)
for _ in tqdm.tqdm(