diff --git a/README.md b/README.md index 2d9321c1..8c8a1f41 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -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 diff --git a/install.sh b/install.sh index 1e7bd75c..4ee16623 100755 --- a/install.sh +++ b/install.sh @@ -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" @@ -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 diff --git a/makefile b/makefile index 04ede853..33371a79 100644 --- a/makefile +++ b/makefile @@ -1,3 +1,3 @@ xchtmlreport: - xcodebuild clean build CODE_SIGNING_REQUIRED=NO -workspace XCTestHTMLReport.xcworkspace -scheme XCTestHTMLReport -configuration Release - mv xchtmlreport /usr/local/bin/ \ No newline at end of file + swift build -c release + mv .build/release/xchtmlreport /usr/local/bin/ \ No newline at end of file diff --git a/xchtmlreport.rb b/xchtmlreport.rb index f8fb2f66..7486fb8d 100644 --- a/xchtmlreport.rb +++ b/xchtmlreport.rb @@ -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"