Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Bug 1239508 - Switch to Carthage from git submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
thebnich committed Feb 13, 2016
1 parent b33bbea commit d909bc5
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 237 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ DerivedData
.idea

Lists/disconnect-*
Carthage
6 changes: 0 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
[submodule "SnapKit"]
path = SnapKit
url = https://github.com/SnapKit/SnapKit.git
[submodule "GCDWebServer"]
path = GCDWebServer
url = https://github.com/swisspol/GCDWebServer.git
261 changes: 35 additions & 226 deletions Blockzilla.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github "swisspol/GCDWebServer"
github "SnapKit/SnapKit" "0.16.0"
2 changes: 2 additions & 0 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github "swisspol/GCDWebServer" "3.3"
github "SnapKit/SnapKit" "0.16.0"
1 change: 0 additions & 1 deletion GCDWebServer
Submodule GCDWebServer deleted from c98941
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,23 @@ We encourage you to participate in this open source project. We love Pull Reques
Build Instructions
------------------

Run `./checkout.sh` to pull in dependencies and generate the block list. After that you can open the Xcode project and build the app.
1. Install the latest [Xcode developer tools](https://developer.apple.com/xcode/downloads/) from Apple.
1. Install [Carthage](https://github.com/Carthage/Carthage#installing-carthage).
1. Clone the repository:

```shell
git clone https://github.com/mozilla/focus
```

1. Pull in the project dependencies:

```shell
cd focus
./checkout.sh
```

1. Open `Blockzilla.xcodeproj` in Xcode.
1. Build the `Focus` scheme in Xcode.

Building for Distribution
-------------------------
Expand Down
1 change: 0 additions & 1 deletion SnapKit
Submodule SnapKit deleted from b17e78
5 changes: 3 additions & 2 deletions checkout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

git submodule init
git submodule update
./build-disconnect.py

carthage checkout
carthage build --platform iOS

0 comments on commit d909bc5

Please sign in to comment.