Skip to content

Commit

Permalink
Add post clone script
Browse files Browse the repository at this point in the history
  • Loading branch information
matus-tomlein committed Oct 4, 2023
1 parent da57b70 commit ed09f38
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ci_scripts/ci_post_clone.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

cd ../seelog
if [ -e generated.sqlite ]
then
echo "Database exists"
else
curl https://f001.backblazeb2.com/file/referred/seelog/generated.sqlite --output generated.sqlite
fi
10 changes: 10 additions & 0 deletions seelog.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@

/* Begin PBXFileReference section */
6B04671024D1FE83009892AF /* SelectedYearState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SelectedYearState.swift; sourceTree = "<group>"; };
6B124B282ACDE1F60086F3E6 /* ci_post_clone.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = ci_post_clone.sh; sourceTree = "<group>"; };
6B1D517D278A1E8F009D6B07 /* CountriesBarChartView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CountriesBarChartView.swift; sourceTree = "<group>"; };
6B1D517F278A1FD2009D6B07 /* CitiesBarChartView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CitiesBarChartView.swift; sourceTree = "<group>"; };
6B1D5181278A20AA009D6B07 /* ContinentsBarChartView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContinentsBarChartView.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -274,6 +275,14 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
6B124B272ACDE1CF0086F3E6 /* ci_scripts */ = {
isa = PBXGroup;
children = (
6B124B282ACDE1F60086F3E6 /* ci_post_clone.sh */,
);
path = ci_scripts;
sourceTree = "<group>";
};
6B1D517C278A1E7B009D6B07 /* Charts */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -304,6 +313,7 @@
6B521D0123B74C7A00570CF2 = {
isa = PBXGroup;
children = (
6B124B272ACDE1CF0086F3E6 /* ci_scripts */,
6B521D0C23B74C7A00570CF2 /* seelog */,
6B521D2323B74C7F00570CF2 /* seelogTests */,
6B521D2E23B74C7F00570CF2 /* seelogUITests */,
Expand Down

0 comments on commit ed09f38

Please sign in to comment.