mirror of
https://github.com/ReactiveX/RxSwift.git
synced 2024-10-04 22:17:41 +03:00
15 lines
540 B
Bash
Executable File
15 lines
540 B
Bash
Executable File
. scripts/common.sh
|
|
|
|
PLAYGROUND_CONFIGURATIONS=(Release)
|
|
|
|
# make sure macOS builds
|
|
for scheme in "RxSwift"
|
|
do
|
|
for configuration in ${PLAYGROUND_CONFIGURATIONS[@]}
|
|
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}
|
|
swift -v -D NOT_IN_PLAYGROUND -target x86_64-apple-macosx10.10 -F ${BUILD_DIRECTORY}/Build/Products/${configuration} ${PAGES_PATH}
|
|
done
|
|
done |