Add raw templater

This commit is contained in:
Jan committed 2022-09-05 23:25:11 +02:00
1 parent 4ef38264c8
commit 1464329245
21 files changed
+996 -7

No files matched your search

+11 -1
View File
@@ -39,7 +39,7 @@ function Raw:project()
}
}
filter "files:**"
filter "files:not **/*.template"
buildmessage 'Copying rawfile %{file.relpath}'
buildcommands {
-- Relpath contains two .. so build/raw is getting reverted in the target path
@@ -50,4 +50,14 @@ function Raw:project()
"%{cfg.targetdir}/build/raw/%{file.relpath}"
}
filter {}
filter "files:**/*.template"
buildmessage 'Templating %{file.relpath}'
buildcommands {
"echo \"%{cfg.targetdir}/build/raw/%{file.reldirectory}\""
}
buildoutputs {
"%{cfg.targetdir}/build/raw/%{file.relpath}"
}
filter {}
end