-
Notifications
You must be signed in to change notification settings - Fork 13
/
pubspec.yaml
60 lines (54 loc) · 1.64 KB
/
pubspec.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: emarsys_sdk
description: The Flutter plug-in for SAP Emarsys Customer Engagement is the official plug-in to help integrate Emarsys into your Flutter application.
version: 2.5.2
homepage: https://github.com/emartech/flutter-plugin-for-sap-emarsys-customer-engagement
environment:
sdk: '>=2.15.0 <4.0.0'
flutter: ">=1.20.0"
dependencies:
flutter:
sdk: flutter
shared_preferences: ^2.2.0
equatable: ^2.0.5
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
build_runner: ^2.1.5
build_version: ^2.1.0
flutter:
plugin:
platforms:
android:
package: com.emarsys.emarsys_sdk
pluginClass: EmarsysSdkPlugin
ios:
pluginClass: EmarsysSdkPlugin
scripts:
release:
- dart pub get
- dart pub run build_runner build --delete-conflicting-outputs
- rm example/lib/version.dart
- $pana-test
test-flutter:
- echo running Flutter unit tests
- flutter test
test-android:
- echo running Android unit tests
- cd example/android && ./gradlew test
pretest-ios:
- open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/
test-ios:
- echo running iOS unit tests
- rm -rf ~/Library/Developer/Xcode/DerivedData
- cd example/ios && pod deintegrate && pod install --no-repo-update --verbose
- cd example/ios && xcodebuild -workspace Runner.xcworkspace -scheme RunnerTests -configuration Debug -destination 'platform=iOS Simulator,name=iPhone 16' test
test:
- $test-flutter
- sleep 10s
- $test-android
- sleep 10s
- $test-ios
pana-test:
- dart pub global activate pana
- dart pub global run pana ./