OLD | NEW |
1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2013, 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 import 'dart:io'; | |
7 import 'package:web_ui/component_build.dart'; | 6 import 'package:web_ui/component_build.dart'; |
8 | 7 |
9 void main() { | 8 void main(args) { |
10 var args = new Options().arguments; | |
11 args.addAll(['--', '--no-css-mangle', '--css-reset', 'web/reset.css', | 9 args.addAll(['--', '--no-css-mangle', '--css-reset', 'web/reset.css', |
12 '--warnings_as_errors', '--verbose']); | 10 '--warnings_as_errors', '--verbose']); |
13 build(args, ['web/index.html']); | 11 build(args, ['web/index.html']); |
14 } | 12 } |
OLD | NEW |