Skip to content

Commit

Permalink
Bump version and fix the installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Rollet committed Oct 17, 2019
1 parent 24146b4 commit 781599c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ Xcode-like HTML report for Unit and UI Tests
- Displays information about the target device
- Displays activity logs
- Junit report

## Fastlane Support

https://github.com/TitouanVanBelle/fastlane-plugin-xchtmlreport
- XCode 11 support

## Installation

Expand Down Expand Up @@ -64,7 +61,7 @@ Then use the previously downloaded xchtmlreport tool to create the HTML report
``` bash
$ xchtmlreport -r TestResults

Report successfully created at TestResults/index.html
Report successfully created at index.html
```

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

Report successfully created at TestResults1/index.html
Report successfully created at index.html
```

This will create only one HTML Report in the path you passed with the -r option
Expand Down
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
VERSION=$1

if [ -z $VERSION ] ; then
VERSION="1.7.3"
VERSION="2.0.0"
fi

OUT_ZIP="xchtmlreport.zip"
Expand All @@ -26,10 +26,10 @@ unzip $OUT_ZIP
BUILD_DIR="XCTestHTMLReport-$VERSION"

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

chmod 755 xchtmlreport
mv xchtmlreport /usr/local/bin/
chmod 755 .build/release/xchtmlreport
mv .build/release/xchtmlreport /usr/local/bin/

cd ".."
rm $OUT_ZIP
Expand Down
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
xchtmlreport:
xcodebuild clean build CODE_SIGNING_REQUIRED=NO -workspace XCTestHTMLReport.xcworkspace -scheme XCTestHTMLReport -configuration Release
mv xchtmlreport /usr/local/bin/
swift build -c release
mv .build/release/xchtmlreport /usr/local/bin/
2 changes: 1 addition & 1 deletion xchtmlreport.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class Xchtmlreport < Formula
desc "XCTestHTMLReport: Xcode-like HTML report for Unit and UI Tests"
homepage "https://github.com/applidium/XCTestHTMLReport"
url "https://github.com/applidium/XCTestHTMLReport/archive/1.7.3.tar.gz"
url "https://github.com/applidium/XCTestHTMLReport/archive/2.0.0.tar.gz"
sha256 "1cff2878812c22a2b54071b941c406c2560c9eb7b10356bcafd01131bdaad23f"
head "https://github.com/applidium/XCTestHTMLReport.git", :branch => "develop_ad"

Expand Down

0 comments on commit 781599c

Please sign in to comment.