Skip to content

Commit

Permalink
Merge pull request #24 from invliD/tvos
Browse files Browse the repository at this point in the history
Add tvOS support
  • Loading branch information
iwasrobbed authored Feb 26, 2017
2 parents 11e757b + 3094573 commit 438db71
Show file tree
Hide file tree
Showing 5 changed files with 319 additions and 29 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ before_install:
- gem install xcpretty slather -N
- xcrun instruments -w "iPhone 5 (9.3)" || echo "(Pre)Launched the simulator."
script:
- set -o pipefail && xcodebuild test -project Down.xcodeproj -scheme "Down" -destination "platform=iOS Simulator,name=iPhone 5,OS=9.3" -enableCodeCoverage YES ONLY_ACTIVE_ARCH=YES | xcpretty -c
- set -o pipefail && xcodebuild test -project Down.xcodeproj -scheme "Down-iOS" -destination "platform=iOS Simulator,name=iPhone 5,OS=9.3" -enableCodeCoverage YES ONLY_ACTIVE_ARCH=YES | xcpretty -c
after_success:
- slather coverage --ignore "../**/*/Xcode*" --ignore "Source/cmark/*" --scheme "Down" Down.xcodeproj
- slather coverage --ignore "../**/*/Xcode*" --ignore "Source/cmark/*" --scheme "Down-iOS" Down.xcodeproj
10 changes: 6 additions & 4 deletions Down.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ Pod::Spec.new do |spec|
spec.license = { :type => "MIT", :file => "LICENSE" }
spec.authors = { "Rob Phillips" => "rob@desideratalabs.co" }
spec.source = { :git => "https://github.com/iwasrobbed/Down.git", :tag => "v" + spec.version.to_s }
spec.source_files = "Source/**/*"
spec.source_files = "Source/{cmark,Enums & Options,Extensions,Renderers}/**", "Source/*"
spec.ios.source_files = "Source/Views/**"
spec.public_header_files = "Source/*.h"
spec.platform = :ios, "8.0"
spec.ios.deployment_target = "8.0"
spec.tvos.deployment_target = "9.0"
spec.requires_arc = true
spec.module_name = "Down"
spec.preserve_path = 'Source/cmark/module.modulemap'
spec.pod_target_xcconfig = { 'SWIFT_INCLUDE_PATHS' => '$(SRCROOT)/Down/Source/cmark/**' }
spec.resource = 'Resources/DownView.bundle'
end
spec.ios.resource = 'Resources/DownView.bundle'
end
Loading

0 comments on commit 438db71

Please sign in to comment.