Improve the README

This commit is contained in:
Andrew Naylor 2015-12-30 21:45:36 +00:00
parent c3519ddd69
commit c72fb162c7
3 changed files with 28 additions and 2 deletions

View file

@ -44,6 +44,31 @@ To install all pending updates run `mas upgrade`.
==> Downloading iFlicks
==> Installed iFlicks
## Build from source
`mas` currently requires the [bundler](http://bundler.io/) RubyGem in order to
bootstrap and build the project. There are a number ways to install bundler but
if you have never used it before then installing it with `gem` should be enough.
```
$ gem install bundler
```
You can now bootstrap the project by executing the `bootstrap` script
from the mas sources script directory:
```
$ script/bootstrap
```
You can now build from Xcode by opening `mas-cli.xcodeproj`, or from the Terminal:
```
$ script/build
```
Build output can be found in the `build/` directory within the project.
## License
Code is under the MIT license.

View file

@ -426,6 +426,7 @@
ED031A811B5127C00097692E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CONFIGURATION_BUILD_DIR = "$(PROJECT_DIR)/build";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",

View file

@ -4,14 +4,14 @@ main() {
script/clean
build
# If this is a tagged build we are going to relase
# If this is a tagged build we are going to release
if [[ ! -z $TRAVIS_TAG ]]; then
archive
fi
}
build() {
xcodebuild -project "mas-cli.xcodeproj" -scheme mas-cli clean build | xcpretty -c
xcodebuild -project "mas-cli.xcodeproj" -scheme mas-cli -configuration Release clean build | xcpretty -c
}
archive() {