mirror of
https://github.com/mas-cli/mas
synced 2025-02-16 12:38:30 +00:00
Improve the README
This commit is contained in:
parent
c3519ddd69
commit
c72fb162c7
3 changed files with 28 additions and 2 deletions
25
README.md
25
README.md
|
@ -44,6 +44,31 @@ To install all pending updates run `mas upgrade`.
|
||||||
==> Downloading iFlicks
|
==> Downloading iFlicks
|
||||||
==> Installed 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
|
## License
|
||||||
|
|
||||||
Code is under the MIT license.
|
Code is under the MIT license.
|
||||||
|
|
|
@ -426,6 +426,7 @@
|
||||||
ED031A811B5127C00097692E /* Release */ = {
|
ED031A811B5127C00097692E /* Release */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
|
CONFIGURATION_BUILD_DIR = "$(PROJECT_DIR)/build";
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",
|
"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",
|
||||||
|
|
|
@ -4,14 +4,14 @@ main() {
|
||||||
script/clean
|
script/clean
|
||||||
build
|
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
|
if [[ ! -z $TRAVIS_TAG ]]; then
|
||||||
archive
|
archive
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
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() {
|
archive() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue