Skip to content

Commit

Permalink
remove artifacts and fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Sep 11, 2024
1 parent 2202458 commit 979ecb9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1 deletion.
Binary file removed maestro-client/src/main/resources/maestro-app.apk
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 4 additions & 1 deletion maestro-ios-xctest-runner/build-maestro-ios-runner.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#!/usr/bin/env bash

set -euo pipefail

if [ "$(basename "$PWD")" != "maestro" ]; then
echo "This script must be run from the maestro root directory"
exit 1
fi

## Build the UI test

rm -rf ./build/Products

xcodebuild \
Expand All @@ -21,6 +24,7 @@ xcodebuild \
build-for-testing

## Remove intermediates, output and copy runner in maestro-ios-driver

cp -r \
./build/Products/Debug-iphonesimulator/maestro-driver-iosUITests-Runner.app \
./maestro-ios-driver/src/main/resources/maestro-driver-iosUITests-Runner.app
Expand All @@ -33,7 +37,6 @@ cp \
./build/Products/*.xctestrun \
./maestro-ios-driver/src/main/resources/maestro-driver-ios-config.xctestrun


cd ./maestro-ios-driver/src/main/resources
zip -r maestro-driver-iosUITests-Runner.zip ./maestro-driver-iosUITests-Runner.app
zip -r maestro-driver-ios.zip ./maestro-driver-ios.app
Expand Down

0 comments on commit 979ecb9

Please sign in to comment.