| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # get the number of command-line arguments given | 3 # get the number of command-line arguments given |
| 4 ARGC=$# | 4 ARGC=$# |
| 5 | 5 |
| 6 if [[ $ARGC -eq 1 ]]; | 6 if [[ $ARGC -eq 1 ]]; |
| 7 then | 7 then |
| 8 if [[ $1 = "simple1" ]]; | 8 if [[ $1 = "simple1" ]]; |
| 9 then | 9 then |
| 10 ./../../template/template name_entry.tmpl name_entry.dart | 10 ./../../template/template name_entry.tmpl name_entry.dart |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 elif [[ $1 == "with2" ]]; | 38 elif [[ $1 == "with2" ]]; |
| 39 then | 39 then |
| 40 ./../../template/template productview2.tmpl productview.dart | 40 ./../../template/template productview2.tmpl productview.dart |
| 41 cd ../../../frog | 41 cd ../../../frog |
| 42 ./frog.py --html -- ../utils/tests/template/test_with.dart | 42 ./frog.py --html -- ../utils/tests/template/test_with.dart |
| 43 elif [[ $1 == "with3" ]]; | 43 elif [[ $1 == "with3" ]]; |
| 44 then | 44 then |
| 45 ./../../template/template productview_localname.tmpl productview.dart | 45 ./../../template/template productview_localname.tmpl productview.dart |
| 46 cd ../../../frog | 46 cd ../../../frog |
| 47 ./frog.py --html -- ../utils/tests/template/test_with.dart | 47 ./frog.py --html -- ../utils/tests/template/test_with.dart |
| 48 elif [[ $1 == "with4" ]]; |
| 49 then |
| 50 ./../../template/template productview3.tmpl productview.dart |
| 51 cd ../../../frog |
| 52 ./frog.py --html -- ../utils/tests/template/test_with.dart |
| 48 elif [[ $1 == "nested" ]]; | 53 elif [[ $1 == "nested" ]]; |
| 49 then | 54 then |
| 50 ./../../template/template nestedview.tmpl nestedview.dart | 55 ./../../template/template nestedview.tmpl nestedview.dart |
| 51 cd ../../../frog | 56 cd ../../../frog |
| 52 ./frog.py --html -- ../utils/tests/template/test_nested.dart | 57 ./frog.py --html -- ../utils/tests/template/test_nested.dart |
| 53 elif [[ $1 == "list" ]]; | 58 elif [[ $1 == "list1" ]]; |
| 54 then | 59 then |
| 55 ./../../template/template applications.tmpl applications.dart | 60 ./../../template/template applications.tmpl applications.dart |
| 56 cd ../../../frog | 61 cd ../../../frog |
| 57 ./frog.py --html -- ../utils/tests/template/test_list.dart | 62 ./frog.py --html -- ../utils/tests/template/test_list.dart |
| 63 elif [[ $1 == "list2" ]]; |
| 64 then |
| 65 ./../../template/template applications2.tmpl applications.dart |
| 66 cd ../../../frog |
| 67 ./frog.py --html -- ../utils/tests/template/test_list.dart |
| 58 elif [[ $1 == "complex" ]]; | 68 elif [[ $1 == "complex" ]]; |
| 59 then | 69 then |
| 60 ./../../template/template top_searches.tmpl top_searches.dart | 70 ./../../template/template top_searches.tmpl top_searches.dart |
| 61 cd ../../../frog | 71 cd ../../../frog |
| 62 ./frog.py --html -- ../utils/tests/template/test_complex.dart | 72 ./frog.py --html -- ../utils/tests/template/test_complex.dart |
| 63 elif [[ $1 == "complexcss" ]]; | 73 elif [[ $1 == "complexcss" ]]; |
| 64 then | 74 then |
| 65 ./../../template/template top_searches_css.tmpl top_searches.dart | 75 ./../../template/template top_searches_css.tmpl top_searches.dart |
| 66 cd ../../../frog | 76 cd ../../../frog |
| 67 ./frog.py --html -- ../utils/tests/template/test_complex.dart | 77 ./frog.py --html -- ../utils/tests/template/test_complex.dart |
| (...skipping 30 matching lines...) Expand all Loading... |
| 98 echo -e "" | 108 echo -e "" |
| 99 echo -e "Known tests are:" | 109 echo -e "Known tests are:" |
| 100 echo -e " simple1" | 110 echo -e " simple1" |
| 101 echo -e " simple2" | 111 echo -e " simple2" |
| 102 echo -e " simple3" | 112 echo -e " simple3" |
| 103 echo -e " simple4" | 113 echo -e " simple4" |
| 104 echo -e " simplecall" | 114 echo -e " simplecall" |
| 105 echo -e " with1" | 115 echo -e " with1" |
| 106 echo -e " with2" | 116 echo -e " with2" |
| 107 echo -e " with3" | 117 echo -e " with3" |
| 118 echo -e " with4" |
| 108 echo -e " nested" | 119 echo -e " nested" |
| 109 echo -e " list" | 120 echo -e " list1" |
| 121 echo -e " list2" |
| 110 echo -e " complex" | 122 echo -e " complex" |
| 111 echo -e " complexcss" | 123 echo -e " complexcss" |
| 112 echo -e " complex2" | 124 echo -e " complex2" |
| 113 echo -e " real" | 125 echo -e " real" |
| 114 echo -e "" | 126 echo -e "" |
| 115 echo -e "clean - removes all template generated Dart classes" | 127 echo -e "clean - removes all template generated Dart classes" |
| 116 fi | 128 fi |
| 117 | 129 |
| OLD | NEW |