Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: utils/tests/template/run

Issue 137013002: Removed obsolete code (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removed libraries not used Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « utils/tests/template/realviews.tmpl ('k') | utils/tests/template/sample.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # get the number of command-line arguments given
4 ARGC=$#
5
6 if [[ $ARGC -eq 1 ]];
7 then
8 if [[ $1 = "simple" ]];
9 then
10 ./../../template/template name_entry_simple.tmpl name_entry.dart
11 cd ../../../frog
12 ./frog.py --html -- ../utils/tests/template/test_simple.dart
13 elif [[ $1 = "simple1" ]];
14 then
15 ./../../template/template name_entry.tmpl name_entry.dart
16 cd ../../../frog
17 ./frog.py --html -- ../utils/tests/template/test_simple.dart
18 elif [[ $1 == "simple2" ]];
19 then
20 ./../../template/template name_entry2.tmpl name_entry.dart
21 cd ../../../frog
22 ./frog.py --html -- ../utils/tests/template/test_simple.dart
23 elif [[ $1 == "simple3" ]];
24 then
25 ./../../template/template name_entry_css.tmpl name_entry.dart
26 cd ../../../frog
27 ./frog.py --html -- ../utils/tests/template/test_simple.dart
28 elif [[ $1 == "simple4" ]];
29 then
30 ./../../template/template name_entry_text.tmpl name_entry.dart
31 cd ../../../frog
32 ./frog.py --html -- ../utils/tests/template/test_simple.dart
33 elif [[ $1 == "simplecall" ]];
34 then
35 ./../../template/template callview.tmpl name_entry.dart
36 cd ../../../frog
37 ./frog.py --html -- ../utils/tests/template/test_simple.dart
38 elif [[ $1 == "with1" ]];
39 then
40 ./../../template/template productview.tmpl productview.dart
41 cd ../../../frog
42 ./frog.py --html -- ../utils/tests/template/test_with.dart
43 elif [[ $1 == "with2" ]];
44 then
45 ./../../template/template productview2.tmpl productview.dart
46 cd ../../../frog
47 ./frog.py --html -- ../utils/tests/template/test_with.dart
48 elif [[ $1 == "with3" ]];
49 then
50 ./../../template/template productview_localname.tmpl productview.dart
51 cd ../../../frog
52 ./frog.py --html -- ../utils/tests/template/test_with.dart
53 elif [[ $1 == "with4" ]];
54 then
55 ./../../template/template productview3.tmpl productview.dart
56 cd ../../../frog
57 ./frog.py --html -- ../utils/tests/template/test_with.dart
58 elif [[ $1 == "nested" ]];
59 then
60 ./../../template/template nestedview.tmpl nestedview.dart
61 cd ../../../frog
62 ./frog.py --html -- ../utils/tests/template/test_nested.dart
63 elif [[ $1 == "list1" ]];
64 then
65 ./../../template/template applications.tmpl applications.dart
66 cd ../../../frog
67 ./frog.py --html -- ../utils/tests/template/test_list.dart
68 elif [[ $1 == "list2" ]];
69 then
70 ./../../template/template applications2.tmpl applications.dart
71 cd ../../../frog
72 ./frog.py --html -- ../utils/tests/template/test_list.dart
73 elif [[ $1 == "complex" ]];
74 then
75 ./../../template/template top_searches.tmpl top_searches.dart
76 cd ../../../frog
77 ./frog.py --html -- ../utils/tests/template/test_complex.dart
78 elif [[ $1 == "complexcss" ]];
79 then
80 ./../../template/template top_searches_css.tmpl top_searches.dart
81 cd ../../../frog
82 ./frog.py --html -- ../utils/tests/template/test_complex.dart
83 elif [[ $1 == "complex2" ]];
84 then
85 ./../../template/template top_searches2.tmpl top_searches2.dart
86 cd ../../../frog
87 ./frog.py --html -- ../utils/tests/template/test_complex2.dart
88 elif [[ $1 == "real" ]];
89 then
90 ./../../template/template realviews.tmpl realviews.dart
91 cd ../../../frog
92 ./frog.py --html -- ../utils/tests/template/real_app.dart
93 elif [[ $1 == "clean" ]];
94 then
95 # remove all generated templates
96 echo "rm name_entry.dart"
97 rm -f name_entry.dart
98 echo "rm productview.dart"
99 rm -f productview.dart
100 echo "rm nestedview.dart"
101 rm -f nestedview.dart
102 echo "rm applications.dart"
103 rm -f applications.dart
104 echo "rm top_searches.dart"
105 rm -f top_searches.dart
106 echo "rm top_searches2.dart"
107 rm -f top_searches2.dart
108 echo "rm realviews.dart"
109 rm -f realviews.dart
110 fi
111 else
112 echo -e "\033[31mUnknown test\033[0m"
113 echo -e ""
114 echo -e "Known tests are:"
115 echo -e " simple"
116 echo -e " simple1"
117 echo -e " simple2"
118 echo -e " simple3"
119 echo -e " simple4"
120 echo -e " simplecall"
121 echo -e " with1"
122 echo -e " with2"
123 echo -e " with3"
124 echo -e " with4"
125 echo -e " nested"
126 echo -e " list1"
127 echo -e " list2"
128 echo -e " complex"
129 echo -e " complexcss"
130 echo -e " complex2"
131 echo -e " real"
132 echo -e ""
133 echo -e "clean - removes all template generated Dart classes"
134 fi
135
OLDNEW
« no previous file with comments | « utils/tests/template/realviews.tmpl ('k') | utils/tests/template/sample.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698