Official 2.0 version

This commit is contained in:
Pedro Piñera 2015-12-08 20:05:55 +01:00
parent 4552a58a41
commit 03ea9674fc
2 changed files with 7 additions and 21 deletions

View File

@ -73,11 +73,11 @@ Thanks for contributing! :boom::camel:
### Rake tasks
In order to simplify some tasks there's a set of tasks defined in a `Makefile` that you can use:
- Build all schemes: `make build`
- Build all schemes: `make ci`
- Run tests: `make test`
### New version checklist
- [x] `make build` passes.
- [x] `make ci` passes.
- [x] `make tests` passes.
- [x] Bump the version in project targets.
- [x] Bump the version in `SugarRecord.podspec`.

View File

@ -1,21 +1,7 @@
ci:
set -o pipefail && xcodebuild build -project SugarRecord/SugarRecord.xcodeproj -scheme "SugarRecord-iOS" ONLY_ACTIVE_ARCH=NO | xcpretty -c
set -o pipefail && xcodebuild build -project SugarRecord/SugarRecord.xcodeproj -scheme "SugarRecord-OSX" ONLY_ACTIVE_ARCH=NO | xcpretty -c
set -o pipefail && xcodebuild build -project SugarRecord/SugarRecord.xcodeproj -scheme "SugarRecord-tvOS" ONLY_ACTIVE_ARCH=NO | xcpretty -c
set -o pipefail && xcodebuild build -project SugarRecord/SugarRecord.xcodeproj -scheme "SugarRecord-watchOS" ONLY_ACTIVE_ARCH=NO | xcpretty -c
doc:
bundle exec jazzy \
--source-directory SugarRecord \
--output Documentation \
--readme README.md \
--module-version 2.0.0 \
--min-acl public \
--docset-icon Assets/Icon.png \
--author @pepibumur \
--author_url http://gitdo.io \
--module SugarRecord \
--github_url https://github.com/gitdoapp/sugarrecord
set -o pipefail && xcodebuild build -project SugarRecord.xcodeproj -scheme "SugarRecord-iOS" ONLY_ACTIVE_ARCH=NO | xcpretty -c
set -o pipefail && xcodebuild build -project SugarRecord.xcodeproj -scheme "SugarRecord-OSX" ONLY_ACTIVE_ARCH=NO | xcpretty -c
set -o pipefail && xcodebuild build -project SugarRecord.xcodeproj -scheme "SugarRecord-tvOS" ONLY_ACTIVE_ARCH=NO | xcpretty -c
set -o pipefail && xcodebuild build -project SugarRecord.xcodeproj -scheme "SugarRecord-watchOS" ONLY_ACTIVE_ARCH=NO | xcpretty -c
test:
set -o pipefail && xcodebuild clean test -project SugarRecord/SugarRecord.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.1' -scheme "SugarRecord-iOS" ONLY_ACTIVE_ARCH=NO | xcpretty -c
set -o pipefail && xcodebuild clean test -project SugarRecord.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.1' -scheme "SugarRecord-iOS" ONLY_ACTIVE_ARCH=NO | xcpretty -c