mapcomplete/scripts/initFiles.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
756 B
Bash
Raw Permalink Normal View History

#! /bin/bash
# Creates various empty (stub) version of files
2024-09-17 02:36:38 +02:00
mkdir -p ./src/assets/generated/layers
2024-08-26 20:43:31 +02:00
echo '{"themes":[]}' > ./src/assets/generated/known_themes.json
2024-09-17 02:36:38 +02:00
echo '{"layers": []}' > ./src/assets/generated/known_layers.json
rm -f ./src/assets/generated/layers/*.json
rm -f ./src/assets/generated/themes/*.json
cp ./assets/layers/usersettings/usersettings.json ./src/assets/generated/layers/usersettings.json
echo '{}' > ./src/assets/generated/layers/favourite.json
echo '{}' > ./src/assets/generated/layers/summary.json
echo '{}' > ./src/assets/generated/layers/last_click.json
echo '{}' > ./src/assets/generated/layers/search.json
2024-09-17 02:36:38 +02:00
echo '[]' > ./src/assets/generated/theme_overview.json
echo '{}' > ./src/assets/generated/layers/geocoded_image.json