2019-11-25 01:42:27 +01:00
|
|
|
#!/bin/bash
|
2021-01-28 17:10:15 +01:00
|
|
|
# flutter clean && flutter run -t ./lib/main.dart -d 'iPhone di Lorenzo' --debug --no-sound-null-safety
|
|
|
|
|
2019-12-14 16:08:15 +01:00
|
|
|
# on linux/macOS local IP can be found using $(ipconfig getifaddr en0)
|
2019-11-25 01:42:27 +01:00
|
|
|
export NODE_SERVER_IP=$1
|
|
|
|
dart tool/env.dart
|
|
|
|
cd nodejs_server_test_auth_basic_and_ssl
|
|
|
|
node index.js &
|
2020-05-11 02:48:41 +02:00
|
|
|
flutter clean
|
2019-11-25 01:42:27 +01:00
|
|
|
cd ../example
|
2020-05-09 04:36:07 +02:00
|
|
|
flutter clean
|
2021-01-28 17:10:15 +01:00
|
|
|
flutter driver --driver=test_driver/integration_test.dart --target=integration_test/webview_flutter_test.dart
|
2019-11-25 01:42:27 +01:00
|
|
|
kill $(jobs -p)
|