From f81187d23a6cbfe81a68fe2a8d3bd234ad09c557 Mon Sep 17 00:00:00 2001 From: Jack McKernan Date: Wed, 21 Mar 2018 12:57:22 -0400 Subject: [PATCH 1/2] Add recursive flag to installation instructions --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 636a8db..246b486 100644 --- a/README.md +++ b/README.md @@ -119,12 +119,12 @@ The default location is `/usr/local/bin`. Here's an example with `xcodebuild`: - git clone https://github.com/macmade/xcode-coveralls.git /tmp/xcode-coveralls + git clone --recursive https://github.com/macmade/xcode-coveralls.git /tmp/xcode-coveralls xcodebuild -project /tmp/xcode-coveralls/xcode-coveralls.xcodeproj -scheme xcode-coveralls DSTROOT=/ SYMROOT=build install And here's an example with `xctool`: - git clone https://github.com/macmade/xcode-coveralls.git /tmp/xcode-coveralls + git clone --recursive https://github.com/macmade/xcode-coveralls.git /tmp/xcode-coveralls sudo xctool --project /tmp/xcode-coveralls/xcode-coveralls.xcodeproj --scheme xcode-coveralls DSTROOT=/ install Note that you can use this on Travis builds (for instance in `before_install`) in order to get coverage reports for your project. From 4857eef5a3dd140f9627fc073ac2b7d541506481 Mon Sep 17 00:00:00 2001 From: Jack McKernan Date: Wed, 21 Mar 2018 13:14:33 -0400 Subject: [PATCH 2/2] Use --recurse-submodules instead --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 246b486..5cd107f 100644 --- a/README.md +++ b/README.md @@ -119,12 +119,12 @@ The default location is `/usr/local/bin`. Here's an example with `xcodebuild`: - git clone --recursive https://github.com/macmade/xcode-coveralls.git /tmp/xcode-coveralls + git clone --recurse-submodules https://github.com/macmade/xcode-coveralls.git /tmp/xcode-coveralls xcodebuild -project /tmp/xcode-coveralls/xcode-coveralls.xcodeproj -scheme xcode-coveralls DSTROOT=/ SYMROOT=build install And here's an example with `xctool`: - git clone --recursive https://github.com/macmade/xcode-coveralls.git /tmp/xcode-coveralls + git clone --recurse-submodules https://github.com/macmade/xcode-coveralls.git /tmp/xcode-coveralls sudo xctool --project /tmp/xcode-coveralls/xcode-coveralls.xcodeproj --scheme xcode-coveralls DSTROOT=/ install Note that you can use this on Travis builds (for instance in `before_install`) in order to get coverage reports for your project.