mirror of
https://github.com/ReactiveX/RxSwift.git
synced 2024-10-04 22:17:41 +03:00
Update validate-playgrounds.sh
I updated validate-playgrounds.sh to also build the RxPlaygrounds framework.
This commit is contained in:
parent
3ff1656f29
commit
ae46216492
@ -3,14 +3,15 @@
|
||||
PLAYGROUND_CONFIGURATIONS=(Release)
|
||||
|
||||
# make sure macOS builds
|
||||
for scheme in "RxSwift"
|
||||
for configuration in ${PLAYGROUND_CONFIGURATIONS[@]}
|
||||
do
|
||||
for configuration in ${PLAYGROUND_CONFIGURATIONS[@]}
|
||||
for scheme in "RxSwift RxPlaygrounds"
|
||||
do
|
||||
PAGES_PATH=${BUILD_DIRECTORY}/Build/Products/${configuration}/all-playground-pages.swift
|
||||
rx ${scheme} ${configuration} "" build
|
||||
cat Rx.playground/Sources/*.swift Rx.playground/Pages/**/*.swift > ${PAGES_PATH}
|
||||
swiftc -v -D NOT_IN_PLAYGROUND -target x86_64-apple-macosx10.10 -F ${BUILD_DIRECTORY}/Build/Products/${configuration} -framework RxSwift ${PAGES_PATH}
|
||||
./all-playground-pages
|
||||
done
|
||||
|
||||
PAGES_PATH=${BUILD_DIRECTORY}/Build/Products/${configuration}/all-playground-pages.swift
|
||||
cat Rx.playground/Sources/*.swift Rx.playground/Pages/**/*.swift > ${PAGES_PATH}
|
||||
swiftc -v -D NOT_IN_PLAYGROUND -target x86_64-apple-macosx10.10 -F ${BUILD_DIRECTORY}/Build/Products/${configuration} -framework RxSwift ${PAGES_PATH}
|
||||
./all-playground-pages
|
||||
done
|
Loading…
Reference in New Issue
Block a user