File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -ev
4
4
5
- SRCROOT=` pwd`
6
- PODS_ROOT=' Pods'
5
+ SRCROOT=$( pwd)
7
6
8
7
echo ${SRCROOT}
9
8
10
9
# Task 1
11
10
# here we use the template source as input to
12
- # generate strings so we could use new strings
11
+ # generate strings so we could use new strings
13
12
# before sync to Crowdin
14
13
15
14
# clean Base.lproj
@@ -31,11 +30,10 @@ cp -R ${SRCROOT}/Localization/StringsConvertor/Intents/output/ ${SRCROOT}/Mastod
31
30
32
31
# Task 4 swiftgen
33
32
cd ${SRCROOT}
34
- echo " ${PODS_ROOT} /SwiftGen/bin/swiftgen"
35
- if [[ -f " ${PODS_ROOT} /SwiftGen/bin/swiftgen" ]] then
36
- " ${PODS_ROOT} /SwiftGen/bin/swiftgen"
33
+ if which swiftgen > /dev/null; then
34
+ swiftgen
37
35
else
38
- echo " Run 'bundle exec pod install' or update your CocoaPods installation ."
36
+ echo " Run 'brew install swiftgen' ."
39
37
fi
40
38
41
39
# Task 5 clean temp file
You can’t perform that action at this time.
0 commit comments