This repository has been archived on 2020-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/bin/bash
|
|
|
|
set -eu
|
|
PHP=/cygdrive/c/bin/php/php.exe
|
|
|
|
echo Cleaning target directory...
|
|
|
|
rm -r wwwroot
|
|
mkdir -p wwwroot/srv
|
|
cp static/* wwwroot
|
|
|
|
echo Building pages...
|
|
|
|
for i in $(seq 0 4) ; do
|
|
$PHP rebuild.php 4 "$i" &
|
|
done
|
|
wait
|
|
|
|
read -p "Press any key to continue..."
|