This commit is contained in:
Thorsten Sommer 2024-11-15 21:46:48 +01:00
parent ceac9cefe5
commit ca46dde69c
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -63,8 +63,11 @@ def "main fix_web_assets" []: nothing -> nothing {
mkdir wwwroot/system
# Copy the web assets from the first RID to the source project:
let source_path: glob = $"bin/release/net8.0/($rid)/publish/wwwroot/_content/*"
let source_paths = glob --depth 99 bin/release/net8.0/($rid)/publish/wwwroot/_content/*
for source_path in $source_paths {
cp --recursive --force --update $source_path wwwroot/system/
}
}
def "main publish" []: nothing -> nothing {