Skip to content

Commit

Permalink
[master] - Everything works, just gotta convince cocoapods of that - TT
Browse files Browse the repository at this point in the history
  • Loading branch information
VaultIt Dev committed May 11, 2020
1 parent 4f59d47 commit 6f15a85
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion DynamicWorkflow.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ iOS has a linear paradigm for navigation that doesn't support a lot of flexibili

s.subspec 'Swinject' do |ss|
ss.source_files = ['Workflow/**/*.{swift,h,m}', 'DependencyInjection/**/*.{swift,h}']
ss.exclude_files = 'Workflow/TestOnly/**/*.{swift}'
ss.dependency 'Swinject'
end

s.subspec 'XCTest' do |ss|
ss.source_files = ['Workflow/TestOnly/**/*.{swift}']
ss.source_files = ['Workflow/**/*.{swift}']
ss.framework = "XCTest"
ss.pod_target_xcconfig = {
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks"',
Expand Down
2 changes: 1 addition & 1 deletion Workflow/DebugOnly/WorkflowNotifications.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
// Copyright © 2019 Tyler Thompson. All rights reserved.
//

#if DEBUG
import Foundation

#if DEBUG
extension Notification.Name {
static var workflowLaunched:Notification.Name {
return Notification.Name(rawValue: "WorkflowLaunched")
Expand Down
2 changes: 2 additions & 0 deletions Workflow/TestOnly/MockPresenter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Copyright © 2020 Tyler Thompson. All rights reserved.
//

#if DEBUG
import Foundation
public class MockPresenter: Presenter {
public var launchCalled = 0
Expand Down Expand Up @@ -34,3 +35,4 @@ public class MockPresenter: Presenter {

required public init() { }
}
#endif
2 changes: 2 additions & 0 deletions Workflow/TestOnly/WorkflowListener.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Copyright © 2020 Tyler Thompson. All rights reserved.
//

#if DEBUG
import Foundation
import XCTest

Expand Down Expand Up @@ -43,3 +44,4 @@ public class WorkflowListener {
args = dict?["args"] as Any?
}
}
#endif
4 changes: 0 additions & 4 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ platform :ios do
end

lane :unit_test do
cocoapods(
clean: true,
repo_update: true,
)
scan(
code_coverage: true,
scheme: 'Workflow',
Expand Down

0 comments on commit 6f15a85

Please sign in to comment.