# objc-build-scripts
This project is a collection of scripts created with two goals:
1. To standardize how Objective-C projects are bootstrapped after cloning
1. To easily build Objective-C projects on continuous integration servers
## Scripts
Right now, there are two important scripts: [`bootstrap`](#bootstrap) and
[`cibuild`](#cibuild). Both are Bash scripts, to maximize compatibility and
eliminate pesky system configuration issues (like setting up a working Ruby
environment).
The structure of the scripts on disk is meant to follow that of a typical Ruby
project:
```
script/
bootstrap
cibuild
```
### bootstrap
This script is responsible for bootstrapping (initializing) your project after
it's been checked out. Here, you should install or clone any dependencies that
are required for a working build and development environment.
By default, the script will verify that [xctool][] is installed, then initialize
and update submodules recursively. If any submodules contain `script/bootstrap`,
that will be run as well.
To check that other tools are installed, you can set the `REQUIRED_TOOLS`
environment variable before running `script/bootstrap`, or edit it within the
script directly. Note that no installation is performed automatically, though
this can always be added within your specific project.
### cibuild
This script is responsible for building the project, as you would want it built
for continuous integration. This is preferable to putting the logic on the CI
server itself, since it ensures that any changes are versioned along with the
source.
By default, the script will run [`bootstrap`](#bootstrap), look for any Xcode
workspace or project in the working directory, then build all targets/schemes
(as found by `xcodebuild -list`) using [xctool][].
You can also specify the schemes to build by passing them into the script:
```sh
script/cibuild ReactiveCocoa-Mac ReactiveCocoa-iOS
```
As with the `bootstrap` script, there are several environment variables that can
be used to customize behavior. They can be set on the command line before
invoking the script, or the defaults changed within the script directly.
## Getting Started
To add the scripts to your project, read the contents of this repository into
a `script` folder:
```
$ git remote add objc-build-scripts https://github.com/jspahrsummers/objc-build-scripts.git
$ git fetch objc-build-scripts
$ git read-tree --prefix=script/ -u objc-build-scripts/master
```
Then commit the changes, to incorporate the scripts into your own repository's
history. You can also freely tweak the scripts for your specific project's
needs.
To merge in upstream changes later:
```
$ git fetch -p objc-build-scripts
$ git merge --ff --squash -Xsubtree=script objc-build-scripts/master
```
[xctool]: https://github.com/facebook/xctool
没有合适的资源?快使用搜索试试~ 我知道了~
MagicRecord-Coredata
共247个文件
m:88个
h:75个
md:15个
4星 · 超过85%的资源 需积分: 10 24 下载量 11 浏览量
2014-02-20
15:08:09
上传
评论
收藏 469KB ZIP 举报
温馨提示
magicRecord is very easy to use , you don't have to write much glue code like codeData
资源推荐
资源详情
资源评论
收起资源包目录
MagicRecord-Coredata (247个子文件)
xcodebuild.awk 501B
xctool.awk 311B
schemes.awk 167B
targets.awk 167B
bootstrap 1KB
cibuild 3KB
contents 10KB
elements 39KB
elements 39KB
.gitignore 237B
.gitmodules 216B
MagicalRecordShorthand.h 14KB
_SingleEntityWithNoRelationships.h 7KB
NSManagedObjectContext+MagicalSaves.h 6KB
NSManagedObject+MagicalFinders.h 5KB
_SingleRelatedEntity.h 3KB
WeightConverterViewController.h 3KB
RecipeDetailViewController.h 3KB
RecipeAddViewController.h 3KB
RecipeTableViewCell.h 3KB
RecipeListTableViewController.h 3KB
_Recipe.h 3KB
TypeSelectionViewController.h 3KB
TemperatureCell.h 3KB
TemperatureConverterViewController.h 3KB
IngredientDetailViewController.h 3KB
MetricPickerController.h 3KB
InstructionsViewController.h 3KB
ImperialPickerController.h 3KB
EditingTableViewCell.h 3KB
RecipePhotoViewController.h 3KB
UnitConverterTableViewController.h 3KB
_SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKey.h 2KB
_MappedEntity.h 2KB
NSPersistentStoreCoordinator+MagicalRecord.h 2KB
_SingleEntityRelatedToMappedEntityUsingDefaults.h 2KB
MagicalRecord+Actions.h 2KB
NSManagedObject+MagicalRecord.h 2KB
_Ingredient.h 2KB
CoreData+MagicalRecord.h 2KB
NSManagedObject+MagicalRequests.h 2KB
_SingleEntityRelatedToMappedEntityWithSecondaryMappings.h 2KB
MagicalRecord.h 2KB
NSManagedObject+MagicalAggregation.h 1KB
_SingleEntityRelatedToMappedEntityWithNestedMappedAttributes.h 1KB
NSManagedObject+MagicalDataImport.h 1KB
_SingleEntityRelatedToMappedEntityUsingMappedPrimaryKey.h 1KB
MagicalRecord+Options.h 1KB
NSManagedObjectContext+MagicalRecord.h 1KB
_ConcreteRelatedEntity.h 1KB
NSEntityDescription+MagicalDataImport.h 1KB
_AbstractRelatedEntity.h 988B
NSManagedObjectModel+MagicalRecord.h 904B
MagicalRecord+iCloud.h 828B
MagicalImportFunctions.h 698B
NSManagedObjectContext+MagicalObserving.h 682B
NSPersistentStore+MagicalRecord.h 633B
_DifferentClassNameMapping.h 615B
NSObject+MagicalDataImport.h 585B
MagicalRecord+Setup.h 498B
NSManagedObjectContext+MagicalThreading.h 460B
MGPRecipesAppDelegate.h 455B
MagicalRecord+ErrorHandling.h 444B
NSNumber+MagicalDataImport.h 421B
FixtureHelpers.h 412B
MagicalDataImportTestCase.h 400B
NSAttributeDescription+MagicalDataImport.h 386B
NSString+MagicalDataImport.h 326B
NSRelationshipDescription+MagicalDataImport.h 315B
MagicalRecord+ShorthandSupport.h 313B
MagicalRecordTestBase.h 249B
SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKey.h 246B
SingleEntityRelatedToMappedEntityWithNestedMappedAttributes.h 243B
SingleEntityRelatedToMappedEntityUsingMappedPrimaryKey.h 228B
SingleEntityRelatedToMappedEntityWithSecondaryMappings.h 228B
SingleEntityRelatedToMappedEntityUsingDefaults.h 204B
ImageToDataTransformer.h 200B
MagicalRecordVersion.h 185B
SingleEntityWithNoRelationships.h 159B
DifferentClassNameMapping.h 141B
AbstractRelatedEntity.h 129B
ConcreteRelatedEntity.h 129B
SingleRelatedEntity.h 123B
MappedEntity.h 102B
Ingredient.h 96B
Recipe.h 84B
iTunesArtwork 5KB
SingleRelatedEntity.json 1KB
SingleEntityWithNoRelationships.json 822B
SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKey.json 463B
SingleEntityRelatedToMappedEntityWithSecondaryMappings.json 203B
SingleEntityRelatedToMappedEntityWithNestedMappedAttributes.json 163B
SingleEntityRelatedToMappedEntityUsingDefaults.json 128B
SingleEntityRelatedToMappedEntityUsingMappedPrimaryKey.json 127B
SingleEntityRelatedToManyMappedEntitiesUsingListOfPrimaryKeys.json 61B
SampleJSONDataForImport.json 8B
layout 13KB
layout 13KB
LICENSE 1KB
RecipeDetailViewController.m 23KB
共 247 条
- 1
- 2
- 3
资源评论
- 堕落的鱼儿2014-07-24不错值得参考
- wkl3252016-06-21还行吧,可以看下
class-dump-z
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 前端vue框架,后端ssm+springboot框架,网站开发.zip
- 基于springboot的快速开发框架.zip
- 基于springboot的分布式权限管理系统,易读易懂、界面简洁美观.zip
- 基于SpringBoot Mybatis-Plus TypeScript的微服务多租户SaaS管理快速开发框架 .zip
- 论文复现:QA-GNN: Reasoning with Language Models and Knowledge
- ipp(intel-oneAPI)下载地址.txt
- 基于spring-boot dubbox搭建的java分布式系统的前端管理.zip
- VLC+Qt demoVLC+Qt demo
- 海彪&龙梅子 - 寂寞的人伤心的歌 (DJ版) [mqms2].ogg
- 530springboot + vue 旅游管理系统.zip(可运行源码+数据库文件+文档)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功