Skip to content

Commit

Permalink
Add Cocoapods boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
keithito committed Apr 19, 2016
1 parent 4d63470 commit 3025768
Show file tree
Hide file tree
Showing 23 changed files with 1,704 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# OS X
.DS_Store

# Xcode
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
profile
*.moved-aside
DerivedData
*.hmap
*.ipa

# Bundler
.bundle

Carthage
Pods/
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage

language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -workspace Example/SimpleAnimation.xcworkspace -scheme SimpleAnimation-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
11 changes: 11 additions & 0 deletions Example/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
use_frameworks!

target 'SimpleAnimation_Example', :exclusive => true do
pod 'SimpleAnimation', :path => '../'
end

target 'SimpleAnimation_Tests', :exclusive => true do
pod 'SimpleAnimation', :path => '../'
pod 'Quick', '~> 0.8'
pod 'Nimble', '~> 3.0'
end
20 changes: 20 additions & 0 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
PODS:
- Nimble (3.2.0)
- Quick (0.9.2)
- SimpleAnimation (0.1.0)

DEPENDENCIES:
- Nimble (~> 3.0)
- Quick (~> 0.8)
- SimpleAnimation (from `../`)

EXTERNAL SOURCES:
SimpleAnimation:
:path: ../

SPEC CHECKSUMS:
Nimble: 703854335d181df169bbca9c97117b5cf8c47c1d
Quick: 18d057bc66451eedd5d1c8dc99ba2a5db6e60226
SimpleAnimation: 9a631c1c29d93b9b5585a75fbf064e55dfaa6e5c

COCOAPODS: 0.39.0
Loading

0 comments on commit 3025768

Please sign in to comment.