mirror of
https://github.com/modo-studio/SugarRecord.git
synced 2024-09-11 14:36:41 +03:00
Official 2.0 version
This commit is contained in:
parent
4552a58a41
commit
03ea9674fc
@ -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`.
|
||||
|
24
Makefile
24
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user