OLD | NEW |
1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3 // for details. All rights reserved. Use of this source code is governed by a | 3 // for details. All rights reserved. Use of this source code is governed by a |
4 // BSD-style license that can be found in the LICENSE file. | 4 // BSD-style license that can be found in the LICENSE file. |
5 | 5 |
6 /** Build logic that lets the Dart editor build examples in the background. */ | 6 /** Build logic that lets the Dart editor build examples in the background. */ |
7 library build; | 7 library build; |
8 import 'package:web_components/component_build.dart'; | 8 import 'package:web_ui/component_build.dart'; |
9 import 'dart:io'; | 9 import 'dart:io'; |
10 | 10 |
11 void main() { | 11 void main() { |
12 build(new Options().arguments, [ | 12 build(new Options().arguments, [ |
13 'example/component/news/index.html', | 13 'example/component/news/index.html', |
14 'example/explainer/clickcount.html', | 14 'example/explainer/clickcount.html', |
15 'example/explainer/countcomponent.html', | 15 'example/explainer/countcomponent.html', |
16 'example/explainer/countcomponent5.html', | 16 'example/explainer/countcomponent5.html', |
17 'example/explainer/counter.html', | 17 'example/explainer/counter.html', |
18 'example/explainer/fruitsearch.html', | 18 'example/explainer/fruitsearch.html', |
19 'example/explainer/helloworld.html', | 19 'example/explainer/helloworld.html', |
20 'example/explainer/matchstrings.html', | 20 'example/explainer/matchstrings.html', |
21 'example/explainer/redbox.html', | 21 'example/explainer/redbox.html', |
22 'example/explainer/tableif.html', | 22 'example/explainer/tableif.html', |
23 'example/explainer/twoway.html', | 23 'example/explainer/twoway.html', |
24 'example/explainer/tictactoe.html', | 24 'example/explainer/tictactoe.html', |
25 'example/mdv/forms_validation/forms_validation.html', | 25 'example/mdv/forms_validation/forms_validation.html', |
26 'example/mdv/hidden/hidden.html', | 26 'example/mdv/hidden/hidden.html', |
27 'example/mdv/hidden2/hidden2.html', | 27 'example/mdv/hidden2/hidden2.html', |
28 'example/mdv/model/main.html', | 28 'example/mdv/model/main.html', |
29 'example/mdv/table/table.html', | 29 'example/mdv/table/table.html', |
30 'example/mdv/style/style.html', | 30 'example/mdv/style/style.html', |
31 'example/todomvc/main.html']); | 31 'example/todomvc/main.html']); |
32 } | 32 } |
OLD | NEW |