[Alt] Add new methods; [Server] Slight improvements to example; [Build] Add full HTML build

This commit is contained in:
2025-03-09 00:54:55 +01:00
parent 5338c8aaf6
commit fedb597dda
16 changed files with 1310 additions and 84 deletions

18
BuildExamples.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/sh
. ./BuildLib.sh
buildHtml(){
useBuilder "Build.BuildHtmlFile('$1', { outputFile: '$2' })"
}
for example in Server
do
example="Example.${example}"
file="./${example}/index.js"
node "${file}" writeStaticHtml 0 "./${example}/index.html"
node "${file}" writeStaticHtml 1 "./Build/${example}.html"
done
for example in Build
do buildHtml "./SpaccDotWeb.${example}/Example.html" "SpaccDotWeb.${example}.Example.html"
done