Skip to content

Commit 568a822

Browse files
committed
Add podlint validation to Fastlane
1 parent 990758c commit 568a822

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Source/Helpers.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ extension String {
6969

7070
/// Log the initialization of an object.
7171
func logInit(_ object: AnyObject) {
72-
print("<INIT> \(Unmanaged.passUnretained(object).toOpaque()) (\(type(of: object))) \(object.description)")
72+
print("<INIT> \(Unmanaged.passUnretained(object).toOpaque()) (\(type(of: object))) \(String(describing: object))")
7373
}
7474

7575
/// Log the termination ("de-initialization" in Swift terms) of an object.
7676
func logTerm(_ object: AnyObject) {
77-
print("<TERM> \(Unmanaged.passUnretained(object).toOpaque()) (\(type(of: object))) \(object.description)")
77+
print("<TERM> \(Unmanaged.passUnretained(object).toOpaque()) (\(type(of: object))) \(String(describing: object))")
7878
}
7979

8080
// MARK: - Collection shuffling

fastlane/Fastfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ end
5454
desc "Available options: type:major|minor|patch"
5555
lane :deploy do |options|
5656
prepare_git('master')
57+
pod_lib_lint(verbose: true)
5758
increment_version_number(
5859
bump_type: options[:type]
5960
)

0 commit comments

Comments
 (0)