mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
fix order of operations in configure.sh
CMake targets used in "generate symbols" depend on data/categories.txt file. Let's generate the file first.
This commit is contained in:
@@ -106,6 +106,9 @@ else
|
|||||||
echo "Skipping world map download..."
|
echo "Skipping world map download..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Generating search categories / synonyms..."
|
||||||
|
./tools/unix/generate_categories.sh
|
||||||
|
|
||||||
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..."
|
||||||
@@ -124,6 +127,4 @@ else
|
|||||||
echo "Skipping generate drules..."
|
echo "Skipping generate drules..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./tools/unix/generate_categories.sh
|
|
||||||
|
|
||||||
echo "The repository is configured for development."
|
echo "The repository is configured for development."
|
||||||
|
|||||||
Reference in New Issue
Block a user