From 80e71d76a5019d7306fd4e33dad8d016189f8fc0 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Sun, 28 Aug 2022 11:15:50 +0200 Subject: [PATCH] Check all required files --- WebsiteGenerator/Generators/SiteGenerator.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/WebsiteGenerator/Generators/SiteGenerator.swift b/WebsiteGenerator/Generators/SiteGenerator.swift index 6133cb6..f98e2b6 100644 --- a/WebsiteGenerator/Generators/SiteGenerator.swift +++ b/WebsiteGenerator/Generators/SiteGenerator.swift @@ -10,6 +10,7 @@ struct SiteGenerator { } func generate(site: Element) throws { + site.requiredFiles.forEach(files.require) try site.languages.forEach { metadata in let language = metadata.language let template = try LocalizedSiteTemplate(