This commit is contained in:
@@ -13,6 +13,7 @@ import sys
|
||||
import uuid
|
||||
|
||||
from project_sources import ProjectSourceError, sync_projects
|
||||
from feed_generator import prepare_feed_assets
|
||||
|
||||
|
||||
IGNORED_NAMES = {
|
||||
@@ -34,7 +35,7 @@ def copy_site_source(site_root: Path, workspace: Path) -> None:
|
||||
shutil.copytree(
|
||||
source,
|
||||
destination,
|
||||
ignore=shutil.ignore_patterns("__pycache__", "*.pyc"),
|
||||
ignore=shutil.ignore_patterns(*IGNORED_NAMES, "*.pyc"),
|
||||
)
|
||||
elif source.is_file():
|
||||
shutil.copy2(source, destination)
|
||||
@@ -99,6 +100,7 @@ def main() -> int:
|
||||
manifest["site_commit"] = site_commit
|
||||
manifest["site_dirty"] = dirty
|
||||
project_file = find_project_file(workspace)
|
||||
prepare_feed_assets(project_file, workspace)
|
||||
|
||||
if args.serve:
|
||||
command = [
|
||||
|
||||
Reference in New Issue
Block a user