mirror of
https://gitlab.com/SpaccInc/SpaccDotWeb.git
synced 2025-06-05 21:29:12 +02:00
[Alt] Add new methods; [Server] Slight improvements to example; [Build] Add full HTML build
This commit is contained in:
18
BuildExamples.sh
Normal file
18
BuildExamples.sh
Normal 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
|
Reference in New Issue
Block a user