appium-webdriveragent 4.1.0 → 4.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Scripts/build.sh CHANGED
@@ -86,10 +86,15 @@ function xcbuild() {
86
86
  }
87
87
 
88
88
  function fastlane_test() {
89
+ if ! command -v fastlane $> /dev/null ; then
90
+ echo "Please install fastlane with 'gem install fastlane' or 'bundle install'"
91
+ exit 1
92
+ fi
93
+
89
94
  if [[ -n "$XC_DESTINATION" ]]; then
90
- SDK="$XC_SDK" DEST="$XC_DESTINATION" SCHEME="$1" bundle exec fastlane test
95
+ SDK="$XC_SDK" DEST="$XC_DESTINATION" SCHEME="$1" fastlane test
91
96
  else
92
- SDK="$XC_SDK" SCHEME="$1" bundle exec fastlane test
97
+ SDK="$XC_SDK" SCHEME="$1" fastlane test
93
98
  fi
94
99
  }
95
100
 
Binary file