forked from MapComplete/MapComplete
Add missing fonts, let build fail if a subbuild fails
This commit is contained in:
parent
be67b397a3
commit
049736de89
4 changed files with 33 additions and 1 deletions
24
assets/themes/natuurpunt/fonts/license_info.json
Normal file
24
assets/themes/natuurpunt/fonts/license_info.json
Normal file
|
@ -0,0 +1,24 @@
|
|||
[
|
||||
{
|
||||
"path": "Amaranth-Regular.otf",
|
||||
"license": "SIL Open Font License",
|
||||
"authors": [
|
||||
"Gesine Todt"
|
||||
],
|
||||
"sources": [
|
||||
"https://allfont.net/download/amaranth-regular/",
|
||||
"http://www.gesine-todt.de/"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "OpenSans-Regular.ttf",
|
||||
"license": "Apache License 2.0",
|
||||
"authors": [
|
||||
"Ascender"
|
||||
],
|
||||
"sources": [
|
||||
"https://allfont.net/download/open-sans/",
|
||||
"http://www.ascendercorp.com/typedesigners.html "
|
||||
]
|
||||
}
|
||||
]
|
BIN
assets/themes/toerisme_vlaanderen/FlandersArtSans-Light.woff
Normal file
BIN
assets/themes/toerisme_vlaanderen/FlandersArtSans-Light.woff
Normal file
Binary file not shown.
BIN
assets/themes/toerisme_vlaanderen/FlandersArtSerif-Medium.woff
Normal file
BIN
assets/themes/toerisme_vlaanderen/FlandersArtSerif-Medium.woff
Normal file
Binary file not shown.
|
@ -38,6 +38,10 @@ fi
|
|||
echo -e "\n\n Building non-theme pages"
|
||||
echo -e " ==========================\n\n"
|
||||
parcel build --public-url "./" $SRC_MAPS "index.html" "404.html" "professional.html" "automaton.html" "import_helper.html" "import_viewer.html" "land.html" "customGenerator.html" "theme.html" vendor
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "ERROR - stopping the build"
|
||||
exit 1
|
||||
fi
|
||||
echo -e "\n\n Building theme pages"
|
||||
echo -e " ======================\n\n"
|
||||
|
||||
|
@ -47,7 +51,11 @@ do
|
|||
echo -e "\n\n $theme"
|
||||
echo -e " ------------ \n\n"
|
||||
# Builds the necessary files for just one theme, e.g. 'bookcases.html' + 'index_bookcases.ts' + supporting file
|
||||
parcel build --public-url './' $SRC_MAPS "$theme.html"
|
||||
parcel build --public-url './' $SRC_MAPS "$theme.html"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "ERROR - stopping the build"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
# At last: a workaround; parcel 1.x borks the link to social images; the public-URL (./) is setup incorrectly, so we fix those
|
||||
cd dist
|
||||
|
|
Loading…
Add table
Reference in a new issue