55
66set -e
77
8- echo " 🧪 Running tests for docx_viewer package..."
8+ echo " Running tests for docx_viewer package..."
99echo " "
1010
1111# Check if Flutter is installed
@@ -16,28 +16,28 @@ if ! command -v flutter &> /dev/null; then
1616fi
1717
1818# Print Flutter version
19- echo " 📱 Flutter version:"
19+ echo " Flutter version:"
2020flutter --version
2121echo " "
2222
2323# Get dependencies
24- echo " 📦 Installing dependencies..."
24+ echo " Installing dependencies..."
2525flutter pub get
2626echo " "
2727
2828# Run analyzer
29- echo " 🔍 Running analyzer..."
29+ echo " Running analyzer..."
3030flutter analyze
3131echo " "
3232
3333# Run tests with coverage
34- echo " 🧪 Running tests with coverage..."
34+ echo " Running tests with coverage..."
3535flutter test --coverage
3636echo " "
3737
3838# Check if lcov is available for coverage report
3939if command -v lcov & > /dev/null; then
40- echo " 📊 Generating coverage report..."
40+ echo " Generating coverage report..."
4141
4242 # Generate summary
4343 lcov --summary coverage/lcov.info
@@ -46,10 +46,10 @@ if command -v lcov &> /dev/null; then
4646 genhtml coverage/lcov.info -o coverage/html
4747
4848 echo " "
49- echo " ✅ Coverage report generated at: coverage/html/index.html"
49+ echo " Coverage report generated at: coverage/html/index.html"
5050 echo " Open with: open coverage/html/index.html (macOS) or xdg-open coverage/html/index.html (Linux)"
5151else
52- echo " ℹ️ lcov not installed. Skipping HTML coverage report generation."
52+ echo " lcov not installed. Skipping HTML coverage report generation."
5353 echo " Install with: sudo apt-get install lcov (Ubuntu/Debian) or brew install lcov (macOS)"
5454fi
5555
0 commit comments