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
|
||||
build
|
||||
|
|
14
build.sh
14
build.sh
|
@ -6,11 +6,13 @@ for locale in en fr; do
|
|||
(cd $locale/; make clean; make all)
|
||||
done
|
||||
|
||||
workdir=$(mktemp -d)
|
||||
cp -r assets $workdir
|
||||
rm -rf build
|
||||
mkdir build
|
||||
|
||||
cp -r assets build/
|
||||
for locale in en fr; do
|
||||
mkdir $workdir/$locale
|
||||
cp -r $locale/*.html $workdir/$locale
|
||||
cp -r assets $workdir/$locale
|
||||
mkdir build/$locale
|
||||
cp -r $locale/*.html build/$locale
|
||||
cp -r assets build/$locale
|
||||
done
|
||||
cp en/index.html $workdir
|
||||
cp en/index.html build
|
||||
|
|
Loading…
Reference in a new issue