Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
markgravity committed Aug 24, 2023
1 parent 375b202 commit 7df0ab7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 7 additions & 0 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ fi
sh make_ios.sh -b ${bundle_id_production} -s ${bundle_id_staging} -n ${project_name} -iv ${minimum_ios_version}
rm -rf make_ios.sh
rm -rf make.sh

# =====GENERATE ANDROID AND SHARED MODULES + REST OF COMPONENTS=====
# TODO: Fully generate the KMM project later
#
Expand All @@ -112,3 +113,9 @@ rsync -av \
--exclude 'make.sh' \
--exclude './sample' \
./ sample/

# Correct path in Dangerfile in sample
sed -i '' "s/'.\//'.\/sample\/ios\//g" ./sample/ios/dangerfile
sed -i '' 's/".\//".\/sample\/ios\//g' ./sample/ios/dangerfile
sed -i '' "s/'\.swiftlint\.yml'/'\.\/sample\/ios\/\.swiftlint\.yml'/g" ./sample/ios/dangerfile
sed -i '' "s/'Pods\/\*\*'/'sample\/ios\/Pods\/\*\*'/g" ./sample/ios/dangerfile
4 changes: 0 additions & 4 deletions make_ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ sed -i '' "$(($line_number + 1))i\\"$'\n'"\

# Correct path in Dangerfile
sed -i '' "s/require '\.\/fastlane\/Constants\/Constants'//g" dangerfile
sed -i '' "s/'.\//'.\/sample\/ios\//g" dangerfile
sed -i '' 's/".\//".\/sample\/ios\//g' dangerfile
sed -i '' "s/'\.swiftlint\.yml'/'\.\/sample\/ios\/\.swiftlint\.yml'/g" dangerfile
sed -i '' "s/'Pods\/\*\*'/'sample\/ios\/Pods\/\*\*'/g" dangerfile

echo "=> Remove unnecessary files after generating the iOS module"
rm -rf .github
Expand Down

0 comments on commit 7df0ab7

Please sign in to comment.