From 3f5cf7008e5cc7302adae3e29c5a32286140c54c Mon Sep 17 00:00:00 2001 From: Raghad Dahi Date: Sun, 16 Mar 2025 08:16:40 +0200 Subject: [PATCH] Add setup-mock-files.sh script to create mock files --- setup-mock-files.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 setup-mock-files.sh diff --git a/setup-mock-files.sh b/setup-mock-files.sh new file mode 100644 index 0000000000..8439ada189 --- /dev/null +++ b/setup-mock-files.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Create directories if they do not exist +mkdir -p $GITHUB_WORKSPACE/organicmaps/data/bookmarks +mkdir -p $GITHUB_WORKSPACE/organicmaps/data/test_data +mkdir -p /tmp + +# Create empty mock files +touch $GITHUB_WORKSPACE/organicmaps/data/power_manager_config +touch $GITHUB_WORKSPACE/organicmaps/data/bookmarks/cat1.kmb +touch $GITHUB_WORKSPACE/organicmaps/data/bookmarks/cat2.kmb +touch $GITHUB_WORKSPACE/organicmaps/data/bookmarks/cat3.kmb +touch $GITHUB_WORKSPACE/organicmaps/data/bookmarks/Bookmarks.kmb +touch $GITHUB_WORKSPACE/organicmaps/data/bookmarks/xxx.kmb +touch $GITHUB_WORKSPACE/organicmaps/data/test_data/broken_bookmarks.kmb.test +touch $GITHUB_WORKSPACE/organicmaps/data/gpstrack_test.bin +touch /tmp/tmp.xml +touch /tmp/Some\ random\ route.kml +touch /tmp/new.kml +touch /tmp/OrganicMaps_1.kml +touch /tmp/OrganicMaps_2.kml \ No newline at end of file