mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[build] Fix hash for failed generation (#2421)
Co-authored-by: x7z4w <x7z4w@noreply.codeberg.org> Co-committed-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
committed by
Konstantin Pastbin
parent
3a9faecc3d
commit
85f4c1c3eb
@@ -119,7 +119,7 @@ echo "Generating search categories / synonyms..."
|
|||||||
if [ -z "$SKIP_GENERATE_SYMBOLS" ]; then
|
if [ -z "$SKIP_GENERATE_SYMBOLS" ]; then
|
||||||
if Diff data/symbols_hash data/styles/*/*/symbols/* || [ ! -z "$SYMBOLS_NOT_GENERATED" ]; then
|
if Diff data/symbols_hash data/styles/*/*/symbols/* || [ ! -z "$SYMBOLS_NOT_GENERATED" ]; then
|
||||||
echo "Generating symbols..."
|
echo "Generating symbols..."
|
||||||
bash ./tools/unix/generate_symbols.sh
|
bash ./tools/unix/generate_symbols.sh || (rm data/symbols_hash; exit 1)
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Skipping generate symbols..."
|
echo "Skipping generate symbols..."
|
||||||
@@ -128,7 +128,7 @@ fi
|
|||||||
if [ -z "$SKIP_GENERATE_DRULES" ]; then
|
if [ -z "$SKIP_GENERATE_DRULES" ]; then
|
||||||
if Diff data/drules_hash data/styles/*/*/*.mapcss data/styles/*/*/*.prio.txt data/mapcss-mapping.csv || [ ! -z "$DRULES_NOT_GENERATED" ]; then
|
if Diff data/drules_hash data/styles/*/*/*.mapcss data/styles/*/*/*.prio.txt data/mapcss-mapping.csv || [ ! -z "$DRULES_NOT_GENERATED" ]; then
|
||||||
echo "Generating drules..."
|
echo "Generating drules..."
|
||||||
bash ./tools/unix/generate_drules.sh
|
bash ./tools/unix/generate_drules.sh || (rm data/drules_hash; exit 1)
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Skipping generate drules..."
|
echo "Skipping generate drules..."
|
||||||
|
|||||||
Reference in New Issue
Block a user