Skip to content

Commit e692499

Browse files
Merge pull request #148 from icapps/fix/issues
Fix/issues
2 parents 64ca8e2 + 1cf4135 commit e692499

File tree

5 files changed

+26
-2
lines changed

5 files changed

+26
-2
lines changed

assets/example.gif

-688 KB
Binary file not shown.

example/tool/model_generator.sh

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
CURRENT=`pwd`
4+
DIR_NAME=`basename "$CURRENT"`
5+
if [ $DIR_NAME == 'tool' ]
6+
then
7+
cd ..
8+
fi
9+
10+
fvm flutter packages run model_generator

tool/gen_coverage_report.sh

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
#!/bin/bash
22

3-
dart run ./tool/travis/test_coverage_helper.dart || exit -1;
3+
CURRENT=`pwd`
4+
DIR_NAME=`basename "$CURRENT"`
5+
if [ $DIR_NAME == 'tool' ]
6+
then
7+
cd ..
8+
fi
9+
10+
dart run tool/test_coverage_helper.dart || exit -1;
411
flutter test --coverage || exit -1;
512
genhtml coverage/lcov.info -o coverage/html || exit -1;
613
open coverage/html/index.html || exit -1;

tool/testLocal.sh

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
#!/bin/bash
22

3-
dart run ./tool/travis/test_coverage_helper.dart || exit -1;
3+
CURRENT=`pwd`
4+
DIR_NAME=`basename "$CURRENT"`
5+
if [ $DIR_NAME == 'tool' ]
6+
then
7+
cd ..
8+
fi
9+
10+
dart run ./tool/test_coverage_helper.dart || exit -1;
411
flutter test --coverage || exit -1;
512
genhtml coverage/lcov.info -o coverage/html
613
rm test/coverage_helper_test.dart
File renamed without changes.

0 commit comments

Comments
 (0)