Skip to content

Commit 8c40705

Browse files
authored
Merge pull request #36 from RxSwiftCommunity/fix/restructureProject
Restructures the project.
2 parents 98289bc + ae0e501 commit 8c40705

File tree

305 files changed

+1803
-26117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

305 files changed

+1803
-26117
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ DerivedData
3030
# Add this line if you want to avoid checking in source code from Carthage dependencies.
3131
# Carthage/Checkouts
3232

33-
Carthage
33+
Carthage/Build
34+
Demo/Pods
35+
Build
3436
vendor
3537
.vendor

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "Carthage/Checkouts/RxSwift"]
2+
path = Carthage/Checkouts/RxSwift
3+
url = https://github.com/ReactiveX/RxSwift.git

.swiftlint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ opt_in_rules:
1010
- force_unwrapping
1111

1212
included:
13-
- Pod/Classes
13+
- "Source"
1414

1515
excluded:
16-
- Example
16+
- Demo
17+
- Pods
18+
- Carthage
1719

1820
function_body_length:
1921
warning: 50

.travis.yml

Lines changed: 13 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,28 @@
11
language: objective-c
22
osx_image: xcode7.3
3-
cache:
4-
directories:
5-
- $HOME/.cocoapods/repos
63
rvm:
74
- "2.3.1"
85

9-
before_install:
10-
- brew install swiftlint
11-
12-
install:
13-
- make bootstrap
14-
156
env:
167
global:
178
- LC_CTYPE=en_US.UTF-8
189
- LANG=en_US.UTF-8
19-
- IOS_SDK=iphonesimulator9.3
20-
- SCHEME="RxViewModel_Tests"
2110
matrix:
22-
- DESTINATION="OS=9.3,name=iPhone 6" SCHEME="$SCHEME" SDK="$IOS_SDK" ACTION="test"
11+
- OS=ios
12+
- OS=macos
13+
- OS=tvos
14+
15+
before_install:
16+
- brew install swiftlint
17+
18+
install:
19+
- gem install bundler --no-doc --no-ri
20+
- bundle install --path="./.vendor/bundle"
21+
- rake bootstrap
2322

2423
script:
25-
- set -o pipefail
26-
- xcodebuild -version
27-
- xcodebuild -showsdks
28-
- xcodebuild
29-
-sdk iphonesimulator
30-
-destination "platform=iOS Simulator,OS=9.3,name=iPhone 6"
31-
-workspace Example/RxViewModel.xcworkspace
32-
-scheme "$SCHEME"
33-
-enableCodeCoverage YES
34-
clean test
35-
CODE_SIGNING_REQUIRED=NO
36-
CODE_SIGN_IDENTITY=
37-
PROVISIONING_PROFILE=
38-
ONLY_ACTIVE_ARCH=YES
39-
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES
40-
GCC_GENERATE_TEST_COVERAGE_FILES=YES |
41-
bundle exec xcpretty --color --report junit
42-
- bundle exec danger
24+
- bundle exec rake test[$OS]
4325

4426
after_success:
27+
- bundle exec danger
4528
- bash <(curl -s https://codecov.io/bash)

Cartfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github "ReactiveX/RxSwift" ~> 2.5

Cartfile.resolved

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github "ReactiveX/RxSwift" "2.6.0"

Carthage/Checkouts/RxSwift

Submodule RxSwift added at 56e09ab

Demo/Demo.xcodeproj/project.pbxproj

Lines changed: 874 additions & 0 deletions
Large diffs are not rendered by default.

Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/RxViewModel.xcscheme renamed to Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo.xcscheme

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
buildForAnalyzing = "YES">
1515
<BuildableReference
1616
BuildableIdentifier = "primary"
17-
BlueprintIdentifier = "9DA6EC88A6C7765E3C372247E92BD44A"
18-
BuildableName = "RxViewModel.framework"
19-
BlueprintName = "RxViewModel"
20-
ReferencedContainer = "container:Pods.xcodeproj">
17+
BlueprintIdentifier = "1168B9761D2DFF2A00784841"
18+
BuildableName = "Demo.app"
19+
BlueprintName = "Demo"
20+
ReferencedContainer = "container:Demo.xcodeproj">
2121
</BuildableReference>
2222
</BuildActionEntry>
2323
</BuildActionEntries>
@@ -34,19 +34,19 @@
3434
<BuildableReference
3535
BuildableIdentifier = "primary"
3636
BlueprintIdentifier = "607FACE41AFB9204008FA782"
37-
BuildableName = "RxViewModel_Tests.xctest"
38-
BlueprintName = "RxViewModel_Tests"
39-
ReferencedContainer = "container:../RxViewModel.xcodeproj">
37+
BuildableName = "RxViewModelTests-iOS.xctest"
38+
BlueprintName = "RxViewModelTests-iOS"
39+
ReferencedContainer = "container:Demo.xcodeproj">
4040
</BuildableReference>
4141
</TestableReference>
4242
</Testables>
4343
<MacroExpansion>
4444
<BuildableReference
4545
BuildableIdentifier = "primary"
46-
BlueprintIdentifier = "9DA6EC88A6C7765E3C372247E92BD44A"
47-
BuildableName = "RxViewModel.framework"
48-
BlueprintName = "RxViewModel"
49-
ReferencedContainer = "container:Pods.xcodeproj">
46+
BlueprintIdentifier = "1168B9761D2DFF2A00784841"
47+
BuildableName = "Demo.app"
48+
BlueprintName = "Demo"
49+
ReferencedContainer = "container:Demo.xcodeproj">
5050
</BuildableReference>
5151
</MacroExpansion>
5252
<AdditionalOptions>
@@ -62,15 +62,16 @@
6262
debugDocumentVersioning = "YES"
6363
debugServiceExtension = "internal"
6464
allowLocationSimulation = "YES">
65-
<MacroExpansion>
65+
<BuildableProductRunnable
66+
runnableDebuggingMode = "0">
6667
<BuildableReference
6768
BuildableIdentifier = "primary"
68-
BlueprintIdentifier = "9DA6EC88A6C7765E3C372247E92BD44A"
69-
BuildableName = "RxViewModel.framework"
70-
BlueprintName = "RxViewModel"
71-
ReferencedContainer = "container:Pods.xcodeproj">
69+
BlueprintIdentifier = "1168B9761D2DFF2A00784841"
70+
BuildableName = "Demo.app"
71+
BlueprintName = "Demo"
72+
ReferencedContainer = "container:Demo.xcodeproj">
7273
</BuildableReference>
73-
</MacroExpansion>
74+
</BuildableProductRunnable>
7475
<AdditionalOptions>
7576
</AdditionalOptions>
7677
</LaunchAction>
@@ -80,15 +81,16 @@
8081
savedToolIdentifier = ""
8182
useCustomWorkingDirectory = "NO"
8283
debugDocumentVersioning = "YES">
83-
<MacroExpansion>
84+
<BuildableProductRunnable
85+
runnableDebuggingMode = "0">
8486
<BuildableReference
8587
BuildableIdentifier = "primary"
86-
BlueprintIdentifier = "9DA6EC88A6C7765E3C372247E92BD44A"
87-
BuildableName = "RxViewModel.framework"
88-
BlueprintName = "RxViewModel"
89-
ReferencedContainer = "container:Pods.xcodeproj">
88+
BlueprintIdentifier = "1168B9761D2DFF2A00784841"
89+
BuildableName = "Demo.app"
90+
BlueprintName = "Demo"
91+
ReferencedContainer = "container:Demo.xcodeproj">
9092
</BuildableReference>
91-
</MacroExpansion>
93+
</BuildableProductRunnable>
9294
</ProfileAction>
9395
<AnalyzeAction
9496
buildConfiguration = "Debug">

0 commit comments

Comments
 (0)