Skip to content

Commit 781599c

Browse files
author
Julien Rollet
committed
Bump version and fix the installation
1 parent 24146b4 commit 781599c

File tree

4 files changed

+10
-13
lines changed

4 files changed

+10
-13
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ Xcode-like HTML report for Unit and UI Tests
1818
- Displays information about the target device
1919
- Displays activity logs
2020
- Junit report
21-
22-
## Fastlane Support
23-
24-
https://github.com/TitouanVanBelle/fastlane-plugin-xchtmlreport
21+
- XCode 11 support
2522

2623
## Installation
2724

@@ -64,7 +61,7 @@ Then use the previously downloaded xchtmlreport tool to create the HTML report
6461
``` bash
6562
$ xchtmlreport -r TestResults
6663

67-
Report successfully created at TestResults/index.html
64+
Report successfully created at index.html
6865
```
6966

7067
### Multiple Result Bundle Path
@@ -74,7 +71,7 @@ You can also pass multiple times the -r option.
7471
``` bash
7572
$ xchtmlreport -r TestResults1 -r TestResults2
7673

77-
Report successfully created at TestResults1/index.html
74+
Report successfully created at index.html
7875
```
7976

8077
This will create only one HTML Report in the path you passed with the -r option

install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
VERSION=$1
66

77
if [ -z $VERSION ] ; then
8-
VERSION="1.7.3"
8+
VERSION="2.0.0"
99
fi
1010

1111
OUT_ZIP="xchtmlreport.zip"
@@ -26,10 +26,10 @@ unzip $OUT_ZIP
2626
BUILD_DIR="XCTestHTMLReport-$VERSION"
2727

2828
cd $BUILD_DIR
29-
xcodebuild clean build CODE_SIGNING_REQUIRED=NO -workspace XCTestHTMLReport.xcworkspace -scheme XCTestHTMLReport -configuration Release
29+
swift build -c release
3030

31-
chmod 755 xchtmlreport
32-
mv xchtmlreport /usr/local/bin/
31+
chmod 755 .build/release/xchtmlreport
32+
mv .build/release/xchtmlreport /usr/local/bin/
3333

3434
cd ".."
3535
rm $OUT_ZIP

makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
xchtmlreport:
2-
xcodebuild clean build CODE_SIGNING_REQUIRED=NO -workspace XCTestHTMLReport.xcworkspace -scheme XCTestHTMLReport -configuration Release
3-
mv xchtmlreport /usr/local/bin/
2+
swift build -c release
3+
mv .build/release/xchtmlreport /usr/local/bin/

xchtmlreport.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class Xchtmlreport < Formula
22
desc "XCTestHTMLReport: Xcode-like HTML report for Unit and UI Tests"
33
homepage "https://github.com/applidium/XCTestHTMLReport"
4-
url "https://github.com/applidium/XCTestHTMLReport/archive/1.7.3.tar.gz"
4+
url "https://github.com/applidium/XCTestHTMLReport/archive/2.0.0.tar.gz"
55
sha256 "1cff2878812c22a2b54071b941c406c2560c9eb7b10356bcafd01131bdaad23f"
66
head "https://github.com/applidium/XCTestHTMLReport.git", :branch => "develop_ad"
77

0 commit comments

Comments
 (0)