Skip to content

Commit 88b02c5

Browse files
committed
Initial Commit
0 parents  commit 88b02c5

31 files changed

+2557
-0
lines changed

.gitignore

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
## OSX
2+
.DS_Store
3+
.AppleDouble
4+
.LSOverride
5+
6+
# Icon must end with two \r
7+
Icon
8+
9+
# Thumbnails
10+
._*
11+
12+
# Files that might appear in the root of a volume
13+
.DocumentRevisions-V100
14+
.fseventsd
15+
.Spotlight-V100
16+
.TemporaryItems
17+
.Trashes
18+
.VolumeIcon.icns
19+
.com.apple.timemachine.donotpresent
20+
21+
# Directories potentially created on remote AFP share
22+
.AppleDB
23+
.AppleDesktop
24+
Network Trash Folder
25+
Temporary Items
26+
.apdisk
27+
28+
# Xcode
29+
#
30+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
31+
32+
## Build generated
33+
build/
34+
DerivedData/
35+
36+
## Various settings
37+
*.pbxuser
38+
!default.pbxuser
39+
*.mode1v3
40+
!default.mode1v3
41+
*.mode2v3
42+
!default.mode2v3
43+
*.perspectivev3
44+
!default.perspectivev3
45+
xcuserdata/
46+
47+
## Other
48+
*.moved-aside
49+
*.xcuserstate
50+
51+
## Obj-C/Swift specific
52+
*.hmap
53+
*.ipa
54+
*.dSYM.zip
55+
*.dSYM
56+
57+
## Playgrounds
58+
timeline.xctimeline
59+
playground.xcworkspace
60+
61+
# Swift Package Manager
62+
#
63+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
64+
Packages/
65+
.build/
66+
67+
# CocoaPods
68+
#
69+
# We recommend against adding the Pods directory to your .gitignore. However
70+
# you should judge for yourself, the pros and cons are mentioned at:
71+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
72+
#
73+
Pods/
74+
75+
# Carthage
76+
#
77+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
78+
Carthage/Checkouts
79+
Carthage/Build
80+
81+
# fastlane
82+
#
83+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
84+
# screenshots whenever they are needed.
85+
# For more information about the recommended setup visit:
86+
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
87+
88+
fastlane/report.xml
89+
fastlane/Preview.html
90+
fastlane/screenshots
91+
fastlane/test_output

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[submodule "Carthage/Checkouts/Nimble"]
2+
path = Carthage/Checkouts/Nimble
3+
url = https://github.com/Quick/Nimble.git
4+
[submodule "Carthage/Checkouts/Quick"]
5+
path = Carthage/Checkouts/Quick
6+
url = https://github.com/Quick/Quick.git
7+
[submodule "Carthage/Checkouts/xcconfigs"]
8+
path = Carthage/Checkouts/xcconfigs
9+
url = https://github.com/jspahrsummers/xcconfigs.git

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0.2

.travis.yml

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
language: objective-c
2+
osx_image: xcode8.2
3+
4+
git:
5+
submodules: false
6+
7+
env:
8+
global:
9+
- LC_CTYPE=en_US.UTF-8
10+
- LANG=en_US.UTF-8
11+
- WORKSPACE=Caterpillar.xcworkspace
12+
- IOS_FRAMEWORK_SCHEME="Caterpillar-iOS"
13+
- OSX_FRAMEWORK_SCHEME="Caterpillar-macOS"
14+
- TVOS_FRAMEWORK_SCHEME="Caterpillar-tvOS"
15+
- WATCHOS_FRAMEWORK_SCHEME="Caterpillar-watchOS"
16+
- IOS_SDK=iphonesimulator10.2
17+
- OSX_SDK=macosx10.12
18+
- TVOS_SDK=appletvsimulator10.1
19+
- WATCHOS_SDK=watchsimulator3.1
20+
- EXAMPLE_SCHEME="Example"
21+
matrix:
22+
- DESTINATION="OS=10.2,name=iPhone 7 Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" BUILD_EXAMPLE="YES" RELEASE_READY="YES" POD_LINT="YES"
23+
- DESTINATION="OS=9.0,name=iPhone 6s" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" BUILD_EXAMPLE="YES" RELEASE_READY="NO" POD_LINT="NO"
24+
- DESTINATION="OS=8.1,name=iPhone 5" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" BUILD_EXAMPLE="YES" RELEASE_READY="NO" POD_LINT="NO"
25+
- DESTINATION="arch=x86_64" SCHEME="$OSX_FRAMEWORK_SCHEME" SDK="$OSX_SDK" RUN_TESTS="YES" BUILD_EXAMPLE="NO" RELEASE_READY="NO" POD_LINT="NO"
26+
- DESTINATION="OS=10.1,name=Apple TV 1080p" SCHEME="$TVOS_FRAMEWORK_SCHEME" SDK="$TVOS_SDK" RUN_TESTS="YES" BUILD_EXAMPLE="NO" RELEASE_READY="NO" POD_LINT="NO"
27+
- DESTINATION="OS=9.0,name=Apple TV 1080p" SCHEME="$TVOS_FRAMEWORK_SCHEME" SDK="$TVOS_SDK" RUN_TESTS="YES" BUILD_EXAMPLE="NO" RELEASE_READY="NO" POD_LINT="NO"
28+
- DESTINATION="OS=3.1,name=Apple Watch Series 2 - 42mm" SCHEME="$WATCHOS_FRAMEWORK_SCHEME" SDK="$WATCHOS_SDK" RUN_TESTS="NO" BUILD_EXAMPLE="NO" RELEASE_READY="NO" POD_LINT="NO"
29+
- DESTINATION="OS=2.0,name=Apple Watch - 38mm" SCHEME="$WATCHOS_FRAMEWORK_SCHEME" SDK="$WATCHOS_SDK" RUN_TESTS="NO" BUILD_EXAMPLE="NO" RELEASE_READY="NO" POD_LINT="NO"
30+
31+
before_install:
32+
- gem install cocoapods --pre --no-rdoc --no-ri --no-document --quiet
33+
- brew update
34+
- brew outdated carthage || brew upgrade carthage
35+
36+
before_script:
37+
- sh scripts/bootstrap
38+
39+
script:
40+
- set -o pipefail
41+
- xcodebuild -version
42+
- xcodebuild -showsdks
43+
44+
# Build Framework in Debug and Run Tests if specified
45+
- if [ $RUN_TESTS == "YES" ]; then
46+
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty -c;
47+
else
48+
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
49+
fi
50+
51+
# Build Framework in Release and Run Tests if specified
52+
- if [ $RUN_TESTS == "YES" ]; then
53+
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty -c;
54+
else
55+
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
56+
fi
57+
58+
# Build Example in Debug if specified
59+
- if [ $BUILD_EXAMPLE == "YES" ]; then
60+
xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
61+
fi
62+
63+
# Run `pod lib lint` if specified
64+
- if [ $POD_LINT == "YES" ]; then
65+
pod lib lint;
66+
fi
67+
68+
before_deploy:
69+
- carthage build --no-skip-current
70+
- carthage archive Caterpillar
71+
72+
deploy:
73+
- provider: releases
74+
api_key:
75+
secure:
76+
file:
77+
- Caterpillar.framework.zip
78+
skip_cleanup: true
79+
overwrite: true
80+
on:
81+
repo: Francesco Perrotti-Garcia/Caterpillar
82+
tags: true
83+
condition: $RELEASE_READY = YES
84+
- provider: script
85+
script: pod trunk push
86+
on:
87+
tags: true
88+
condition: $RELEASE_READY = YES

Cartfile

Whitespace-only changes.

Cartfile.private

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
github "jspahrsummers/xcconfigs" "master"
2+
github "Quick/Quick"
3+
github "Quick/Nimble"

Cartfile.resolved

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
github "Quick/Nimble" "v6.0.1"
2+
github "Quick/Quick" "v1.0.0"
3+
github "jspahrsummers/xcconfigs" "2055f18efbe18e77408f7f43947f7ad92b2d4ff0"

Carthage/Checkouts/Nimble

Submodule Nimble added at 8e2703f

Carthage/Checkouts/Quick

Submodule Quick added at 9c03231

Carthage/Checkouts/xcconfigs

Submodule xcconfigs added at 2055f18

0 commit comments

Comments
 (0)