dartlangeditorflutterflutter-appsflutter-examplesflutter-packageflutter-widgetquillquill-deltaquilljsreactquillrich-textrich-text-editorwysiwygwysiwyg-editor
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
731 B
34 lines
731 B
1 year ago
|
#!/bin/bash
|
||
|
|
||
|
# Run Flutter analyze
|
||
|
echo "Running 'flutter analyze'..."
|
||
|
flutter analyze
|
||
|
|
||
|
# Run Flutter test
|
||
|
echo "Running 'flutter test'..."
|
||
|
flutter test
|
||
|
|
||
|
# Check if package is ready for publishing
|
||
|
echo "Running 'flutter pub publish --dry-run'..."
|
||
|
flutter pub publish --dry-run
|
||
|
|
||
|
# Apply Dart fixes
|
||
|
echo "Running 'dart fix --apply'..."
|
||
|
dart fix --apply
|
||
|
|
||
|
# Format Dart code
|
||
|
echo "Running 'dart format .'"
|
||
|
dart format .
|
||
|
|
||
1 year ago
|
# Check dart code formatting
|
||
1 year ago
|
echo "Running 'dart format --set-exit-if-changed .'"
|
||
1 year ago
|
dart format --set-exit-if-changed .
|
||
|
|
||
1 year ago
|
# Check flutter web example
|
||
|
echo "Running flutter build web --release --dart-define=CI=true."
|
||
|
(cd example && flutter build web --release --dart-define=CI=true)
|
||
|
|
||
|
echo ""
|
||
|
|
||
1 year ago
|
echo "Script completed."
|