test: add test logging to e2e patch command
This commit is contained in:
@@ -24,6 +24,17 @@ cd e2e_test
|
||||
# Replace the contents of "lib/main.dart" with a single print statement.
|
||||
echo "void main() { print('hello world'); }" >lib/main.dart
|
||||
|
||||
echo "testing sed command"
|
||||
|
||||
# Replace lib/main.dart "hello world" to "hello shorebird"
|
||||
sed -i 's/hello world/hello shorebird/g' lib/main.dart
|
||||
|
||||
echo "lib/main.dart is now:"
|
||||
cat lib/main.dart
|
||||
|
||||
# Replace the contents of "lib/main.dart" with a single print statement.
|
||||
echo "void main() { print('hello world'); }" >lib/main.dart
|
||||
|
||||
# Initialize Shorebird
|
||||
shorebird init --force -v
|
||||
|
||||
@@ -48,6 +59,9 @@ done < <(shorebird preview --release-version 0.1.0+1 --app-id $APP_ID --platform
|
||||
# Replace lib/main.dart "hello world" to "hello shorebird"
|
||||
sed -i 's/hello world/hello shorebird/g' lib/main.dart
|
||||
|
||||
echo "lib/main.dart is now:"
|
||||
cat lib/main.dart
|
||||
|
||||
# Create a patch
|
||||
shorebird patch android -v
|
||||
|
||||
|
||||
Reference in New Issue
Block a user