-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from tbointeractive/feature/release-preparation…
…s-v1.0.0 Feature/release preparations v1.0.0
- Loading branch information
Showing
7 changed files
with
47 additions
and
117 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
language: objective-c | ||
xcode_workspace: bytes.xcworkspace | ||
xcode_scheme: bytes | ||
xcode_sdk: iphonesimulator | ||
osx_image: xcode9.1 | ||
before_install: | ||
- 'echo ''gem: --no-ri --no-rdoc'' > ~/.gemrc' | ||
install: | ||
# - gem install danger | ||
- gem install xcpretty | ||
before_script: | ||
- export LANG=en_US.UTF-8 | ||
# - danger | ||
env: | ||
matrix: | ||
- TEST_DEVICE="iPhone 6,OS=11.0" | ||
- TEST_DEVICE="iPhone 6,OS=10.3" | ||
- TEST_DEVICE="iPhone 6,OS=9.3" | ||
script: | ||
- xcodebuild -workspace $TRAVIS_XCODE_WORKSPACE -scheme $TRAVIS_XCODE_SCHEME -sdk iphonesimulator11.0 -destination "platform=iOS Simulator,name=$TEST_DEVICE" test | xcpretty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Sometimes it's a README fix, or something like that - which isn't relevant for | ||
# including in a project's CHANGELOG for example | ||
declared_trivial = github.pr_title.include? "#trivial" | ||
has_pod_changes = !git.modified_files.grep(/Classes/).empty? | ||
|
||
# Make it more obvious that a PR is a work in progress and shouldn't be merged yet | ||
warn("PR is classed as Work in Progress") if github.pr_title.include? "[WIP]" | ||
|
||
# Warn when there is a big PR | ||
warn("Big PR") if git.lines_of_code > 500 | ||
|
||
has_changelog = git.modified_files.include?("CHANGELOG.md") | ||
if has_pod_changes && !has_changelog && !declared_trivial | ||
fail("Any changes to the cocoapod neet a summary in the changelog.") | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,13 @@ | ||
# bytes | ||
|
||
[![build status](http://git.tbointeractive.com/chorstmann/bytes/badges/develop/build.svg)](http://git.tbointeractive.com/chorstmann/bytes/commits/develop) | ||
[![coverage report](http://git.tbointeractive.com/chorstmann/bytes/badges/develop/coverage.svg)](http://git.tbointeractive.com/chorstmann/bytes/commits/develop) | ||
[![Build Status](https://travis-ci.org/tbointeractive/bytes.svg?branch=develop)](https://travis-ci.org/tbointeractive/bytes) | ||
<!-- [![coverage report](http://git.tbointeractive.com/chorstmann/bytes/badges/develop/coverage.svg)](http://git.tbointeractive.com/chorstmann/bytes/commits/develop) --> | ||
|
||
**bytes** is a set of tools to cover many all-day tasks in iOS development. | ||
|
||
## Get started | ||
### Install via [CocoaPods](http://cocoapods.org/) | ||
|
||
Add the TBO podspec repository as a source in your Podfile | ||
```ruby | ||
source '[email protected]:tbopodspecs/tbopodspecs.git' | ||
``` | ||
|
||
And add the bytes Pod | ||
Add the bytes Pod | ||
```ruby | ||
pod 'bytes' | ||
``` | ||
|
@@ -27,7 +21,7 @@ Please read the documentation to find out about all the existing bytes. | |
Please start a discussion about a byte before implementing one of your own. We love to discuss new ideas and get a concept straigt early on. | ||
|
||
### Testing | ||
Please ensure proper testing of all your code whilst not blindly watching the coverage percentage. | ||
Please ensure proper testing of all your code whilst not blindly watching the coverage percentage. | ||
|
||
### Documentation | ||
Please add proper documentation to your code (Xcode Editor -> Structure -> Add Documentation). We use [jazzy](https://github.com/realm/jazzy) to generate the docset. Use the `jazzy` command to generate it on your own machine. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,22 +9,22 @@ | |
Pod::Spec.new do |s| | ||
|
||
s.name = "bytes" | ||
s.version = "0.9" | ||
s.summary = "Have some bytes" | ||
s.version = "1.0" | ||
s.summary = "bytes is a set of tools to cover many all-day tasks in iOS development." | ||
|
||
s.description = <<-DESC | ||
bytes is a set of tools to cover many all-day tasks in iOS development. | ||
DESC | ||
|
||
s.homepage = "http://git.tbointeractive.com/chorstmann/bytes" | ||
s.homepage = "https://github.com/tbointeractive/bytes" | ||
|
||
s.license = "MIT" | ||
|
||
s.author = { "Cornelius Horstmann" => "[email protected]", "Thorsten Stark" => "[email protected]", "Bernhard Eiling" => "[email protected]" } | ||
s.author = { "Cornelius Horstmann" => "[email protected]", "Thorsten Stark" => "[email protected]", "Bernhard Eiling" => "[email protected]", "Pascal Stüdlein" => "[email protected]" } | ||
|
||
s.platform = :ios, "8.2" | ||
|
||
s.source = { :git => "[email protected].com:chorstmann/bytes.git", :tag => '0.9'} | ||
s.source = { :git => "https://github.com/tbointeractive/bytes.git", :tag => 'v1.0'} | ||
|
||
s.source_files = "bytes/bytes/**/*.swift" | ||
|
||
|