-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.sh
70 lines (60 loc) · 2.84 KB
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env bash
set -e
set -x
bash xcodeproj2bazel.sh --pwd=examples/empty_app_storyboard_objc --project=examples/empty_app_storyboard_objc/empty_app_storyboard_objc.xcodeproj
pushd examples/empty_app_storyboard_objc
bazel build empty_app_storyboard_objc_app
popd
bash xcodeproj2bazel.sh --pwd=examples/empty_app_storyboard_swift --project=examples/empty_app_storyboard_swift/empty_app_storyboard_swift.xcodeproj
pushd examples/empty_app_storyboard_swift
bazel build empty_app_storyboard_swift_app
popd
bash xcodeproj2bazel.sh --pwd=examples/app_and_library_dead_code --project=examples/app_and_library_dead_code/app_and_library_dead_code.xcodeproj
pushd examples/app_and_library_dead_code
bazel build app_and_library_dead_code_app
popd
rm -rf examples/Masonry/Masonry
mkdir -p examples/Masonry/Masonry
git clone https://github.com/SnapKit/Masonry.git examples/Masonry/Masonry --depth=1
bash xcodeproj2bazel.sh --pwd=examples/Masonry --workspace=examples/Masonry/Masonry/Masonry.xcworkspace
pushd examples/Masonry
bazel build Masonry_iOS_Examples_app
popd
rm -rf examples/AFNetworking/AFNetworking
mkdir -p examples/AFNetworking/AFNetworking
git clone https://github.com/AFNetworking/AFNetworking.git examples/AFNetworking/AFNetworking --depth=1
bash xcodeproj2bazel.sh --pwd=examples/AFNetworking --workspace=examples/AFNetworking/AFNetworking/AFNetworking.xcworkspace
pushd examples/AFNetworking
bazel build iOS_Example_app
popd
rm -rf examples/SDWebImage/SDWebImage
mkdir -p examples/SDWebImage/SDWebImage
git clone https://github.com/SDWebImage/SDWebImage.git examples/SDWebImage/SDWebImage --depth=1
pushd examples/SDWebImage/SDWebImage
pod update
popd
bash xcodeproj2bazel.sh --pwd=examples/SDWebImage --workspace=examples/SDWebImage/SDWebImage/SDWebImage.xcworkspace
pushd examples/SDWebImage
bazel build SDWebImage_iOS_Demo_app
popd
rm -rf examples/Kingfisher/Kingfisher
mkdir -p examples/Kingfisher/Kingfisher
git clone https://github.com/onevcat/Kingfisher.git examples/Kingfisher/Kingfisher --depth=1
bash xcodeproj2bazel.sh --pwd=examples/Kingfisher --workspace=examples/Kingfisher/Kingfisher/Kingfisher.xcworkspace
pushd examples/Kingfisher
bazel build Kingfisher_Demo_app
popd
pushd examples/swift_app_with_pod_use_frameworks
pod update
popd
bash xcodeproj2bazel.sh --pwd=examples/swift_app_with_pod_use_frameworks --workspace=examples/swift_app_with_pod_use_frameworks/swift_app_with_pod_use_frameworks.xcworkspace
pushd examples/swift_app_with_pod_use_frameworks
bazel build swift_app_with_pod_use_frameworks_app
popd
pushd examples/swift_app_with_pod_no_use_frameworks
pod update
popd
bash xcodeproj2bazel.sh --pwd=examples/swift_app_with_pod_no_use_frameworks --workspace=examples/swift_app_with_pod_no_use_frameworks/swift_app_with_pod_no_use_frameworks.xcworkspace
pushd examples/swift_app_with_pod_no_use_frameworks
bazel build swift_app_with_pod_no_use_frameworks_app
popd