mirror of
https://gitlab.com/octtspacc/staticoso
synced 2025-03-13 01:30:10 +01:00
19 lines
287 B
Bash
19 lines
287 B
Bash
#!/bin/sh
|
|
cd "$( dirname "$( realpath "$0" )" )"
|
|
|
|
# First build all sites independently,
|
|
# then move them to a base public folder
|
|
|
|
mkdir ../public
|
|
|
|
for Site in *
|
|
do
|
|
if [ -d "$Site" ]
|
|
then
|
|
cd $Site
|
|
python3 ../../App/Source/Build.py
|
|
mv ./public ../../public/$Site
|
|
cd ..
|
|
fi
|
|
done
|