recycled.cloud/build.sh

16 lines
278 B
Bash
Executable file

#!/bin/sh
set -e
for locale in en fr; do
(cd $locale/; make clean; make all)
done
workdir=$(mktemp -d)
cp -r assets $workdir
for locale in en fr; do
mkdir $workdir/$locale
cp -r $locale/*.html $workdir/$locale
cp -r assets $workdir/$locale
done
cp en/index.html $workdir