Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Commit

Permalink
Use $ in Terminal commands
Browse files Browse the repository at this point in the history
Fix bug with installation - gem install rest
  • Loading branch information
Bilawal Hameed committed Jan 9, 2020
1 parent 7d7c739 commit 6514741
Showing 1 changed file with 27 additions and 22 deletions.
49 changes: 27 additions & 22 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ If you want to hack on `CocoaPods.app`:

This is known to work on Xcode 9.3, and high sierra

``` sh
git clone https://github.com/CocoaPods/CocoaPods-app.git --recursive
cd CocoaPods-app
rake app:prerequisites --quiet
open app/CocoaPods.xcworkspace
```sh
$ git clone https://github.com/CocoaPods/CocoaPods-app.git --recursive
$ cd CocoaPods-app
$ gem install rest
$ rake app:prerequisites --quiet
$ open app/CocoaPods.xcworkspace
```

This will set up your environment with a compiled versions of: ruby, git, cocoapods (the gem), hg, openssl, etc into both `destroot` and `workbench`.
Expand All @@ -35,22 +36,22 @@ This will set up your environment with a compiled versions of: ruby, git, cocoap

The main tasks can be found with `rake -T`:

```
rake app:build # Build release version of application
rake app:clean # Clean
rake app:prerequisites # Prepare all prerequisites for building the app
rake app:update_version # Updates the Info.plist of the application to reflect the CocoaPods version
rake bundle:build # Build complete dist bundle
rake bundle:clean:all # Clean all artefacts, including downloads
rake bundle:clean:artefacts # Clean build and destroot artefacts
rake bundle:submodules # Ensure Submodules are downloaded
rake bundle:test # Test bundle
rake bundle:verify_linkage # Verifies that no binaries in the bundle link to incorrect dylibs
rake release # Create a clean release build for distribution
rake release:build # Perform a full build of the bundle and app
rake release:cleanbuild # Create a clean build
rake release:sparkle # Version bump the Sparkle XML
rake release:upload # Upload release
```sh
$ rake app:build # Build release version of application
$ rake app:clean # Clean
$ rake app:prerequisites # Prepare all prerequisites for building the app
$ rake app:update_version # Updates the Info.plist of the application to reflect the CocoaPods version
$ rake bundle:build # Build complete dist bundle
$ rake bundle:clean:all # Clean all artefacts, including downloads
$ rake bundle:clean:artefacts # Clean build and destroot artefacts
$ rake bundle:submodules # Ensure Submodules are downloaded
$ rake bundle:test # Test bundle
$ rake bundle:verify_linkage # Verifies that no binaries in the bundle link to incorrect dylibs
$ rake release # Create a clean release build for distribution
$ rake release:build # Perform a full build of the bundle and app
$ rake release:cleanbuild # Create a clean build
$ rake release:sparkle # Version bump the Sparkle XML
$ rake release:upload # Upload release
```

If you’re working on the build system and want to debug intermediate steps, such as building Ruby,
Expand All @@ -60,4 +61,8 @@ We have heard reports of issues with installing on custom ruby installations, we

### Creating a release

1. Run `rake release`.
Run the following

```sh
$ rake release
```

0 comments on commit 6514741

Please sign in to comment.