Skip to content

Commit 14c3b57

Browse files
committed
(っ˘▽˘)っ 🔩🔩🔩 ⊂(◕。◕⊂)
0 parents  commit 14c3b57

24 files changed

+3348
-0
lines changed

Diff for: .gitignore

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## OS X
2+
.DS_Store
3+
4+
## Build generated
5+
build/
6+
DerivedData
7+
8+
## Various settings
9+
*.pbxuser
10+
!default.pbxuser
11+
*.mode1v3
12+
!default.mode1v3
13+
*.mode2v3
14+
!default.mode2v3
15+
*.perspectivev3
16+
!default.perspectivev3
17+
xcuserdata
18+
19+
## Other
20+
*.xccheckout
21+
*.moved-aside
22+
*.xcuserstate
23+
*.xcscmblueprint
24+
25+
## Obj-C/Swift specific
26+
*.hmap
27+
*.ipa
28+
29+
## Dependency Managers
30+
Pods/
31+
Carthage/Build
32+
33+
## AppCode
34+
.idea/

Diff for: .swiftlint.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
line_length: 140
2+
file_length: 1000
3+
type_body_length: 500
4+
opt_in_rules:
5+
- empty_count
6+
disabled_rules:
7+
- cyclomatic_complexity

Diff for: .travis.yml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
branches:
2+
only:
3+
- master
4+
language: objective-c
5+
os: osx
6+
osx_image: xcode7.2
7+
cache:
8+
- cocoapods
9+
env:
10+
matrix:
11+
- TEST_TYPE=iOS
12+
- TEST_TYPE=OSX
13+
- TEST_TYPE=tvOS
14+
- TEST_TYPE=CocoaPods
15+
- TEST_TYPE=Carthage
16+
before_install:
17+
- |
18+
if [ "$TEST_TYPE" = iOS ] || [ "$TEST_TYPE" = OSX ] || [ "$TEST_TYPE" = tvOS ]; then
19+
gem install xcpretty -N --no-ri --no-rdoc
20+
elif [ "$TEST_TYPE" = CocoaPods ]; then
21+
gem install cocoapods --pre --quiet --no-ri --no-rdoc
22+
pod setup --silent
23+
pod repo update --silent
24+
elif [ "$TEST_TYPE" = Carthage ]; then
25+
brew update
26+
brew install carthage || brew upgrade carthage
27+
fi
28+
script:
29+
- |
30+
if [ "$TEST_TYPE" = iOS ]; then
31+
set -o pipefail
32+
xcodebuild test -project BoltsSwift.xcodeproj -sdk iphonesimulator -scheme BoltsSwift-iOS -configuration Debug -destination "platform=iOS Simulator,name=iPhone 4s" -destination "platform=iOS Simulator,name=iPhone 6 Plus" GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c
33+
elif [ "$TEST_TYPE" = OSX ]; then
34+
set -o pipefail
35+
xcodebuild test -project BoltsSwift.xcodeproj -sdk macosx -scheme BoltsSwift-OSX -configuration Debug GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c
36+
elif [ "$TEST_TYPE" = tvOS ]; then
37+
set -o pipefail
38+
xcodebuild test -project BoltsSwift.xcodeproj -sdk appletvsimulator -scheme BoltsSwift-tvOS -destination "platform=tvOS Simulator,name=Apple TV 1080p" -configuration Debug GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c
39+
elif [ "$TEST_TYPE" = CocoaPods ]; then
40+
pod lib lint Bolts-Swift.podspec
41+
elif [ "$TEST_TYPE" = Carthage ]; then
42+
carthage build --no-skip-current
43+
fi
44+
after_success:
45+
- |
46+
if [ "$TEST_TYPE" = iOS ] || [ "$TEST_TYPE" = OSX ] || [ "$TEST_TYPE" = tvOS ]; then
47+
bash <(curl -s https://codecov.io/bash)
48+
fi

Diff for: Bolts-Swift.podspec

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'Bolts-Swift'
3+
s.version = '1.0.0'
4+
s.license = { :type => 'BSD' }
5+
s.summary = 'Bolts is a collection of low-level libraries designed to make developing mobile apps easier.'
6+
s.homepage = 'https://github.com/BoltsFramework'
7+
s.authors = { 'Nikita Lutsenko' => '[email protected]' }
8+
9+
s.source = { :git => 'https://github.com/BoltsFramework/Bolts-Swift.git', :tag => s.version.to_s }
10+
11+
s.requires_arc = true
12+
13+
s.ios.deployment_target = '8.0'
14+
s.osx.deployment_target = '10.9'
15+
s.tvos.deployment_target = '9.0'
16+
s.watchos.deployment_target = '2.0'
17+
18+
s.source_files = 'Sources/BoltsSwift/*.swift'
19+
s.module_name = 'BoltsSwift'
20+
end

0 commit comments

Comments
 (0)