chore: now build in the build
dir
This commit is contained in:
parent
31ba0af5dd
commit
0b7238a6c4
2 changed files with 9 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
*.html
|
*.html
|
||||||
|
build
|
||||||
|
|
14
build.sh
14
build.sh
|
@ -6,11 +6,13 @@ for locale in en fr; do
|
||||||
(cd $locale/; make clean; make all)
|
(cd $locale/; make clean; make all)
|
||||||
done
|
done
|
||||||
|
|
||||||
workdir=$(mktemp -d)
|
rm -rf build
|
||||||
cp -r assets $workdir
|
mkdir build
|
||||||
|
|
||||||
|
cp -r assets build/
|
||||||
for locale in en fr; do
|
for locale in en fr; do
|
||||||
mkdir $workdir/$locale
|
mkdir build/$locale
|
||||||
cp -r $locale/*.html $workdir/$locale
|
cp -r $locale/*.html build/$locale
|
||||||
cp -r assets $workdir/$locale
|
cp -r assets build/$locale
|
||||||
done
|
done
|
||||||
cp en/index.html $workdir
|
cp en/index.html build
|
||||||
|
|
Loading…
Reference in a new issue