Skip to content

Commit bfe047c

Browse files
committed
simplify test.sh
1 parent 87b9bb8 commit bfe047c

File tree

1 file changed

+6
-49
lines changed

1 file changed

+6
-49
lines changed

test/test.sh

Lines changed: 6 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -7,54 +7,11 @@ build() {
77

88
rm -rf Pods
99

10-
python change_podfile.py "initial"
11-
pod install
12-
build
10+
cases=("initial" "addSwiftPod" "revertToSourceCode" "addDifferentNamePod" "addSubPod" "deleteAPod" "addVendoredLibPod" "universalFlag" "multiplePlatforms" "multiplePlatformsWithALLFlag")
11+
for action in ${cases[@]}; do
12+
python change_podfile.py ${action}
13+
bundle exec pod install
14+
build
15+
done
1316

14-
#
15-
python change_podfile.py "addSwiftPod"
16-
pod install
17-
build
18-
19-
#
20-
python change_podfile.py "revertToSourceCode"
21-
pod install
22-
build
23-
24-
#
25-
python change_podfile.py "addDifferentNamePod"
26-
pod install
27-
build
28-
29-
#
30-
python change_podfile.py "addSubPod"
31-
pod install
32-
build
33-
34-
#
35-
python change_podfile.py "deleteAPod"
36-
pod install
37-
build
38-
39-
#
40-
python change_podfile.py "addVendoredLibPod"
41-
pod install
42-
build
43-
44-
#
45-
python change_podfile.py "universalFlag"
46-
pod install
47-
build
48-
49-
#
50-
python change_podfile.py "multiplePlatforms"
51-
pod install
52-
build
53-
54-
#
55-
python change_podfile.py "multiplePlatformsWithALLFlag"
56-
pod install
57-
build
58-
59-
#
6017
exit 0

0 commit comments

Comments
 (0)