OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2011, 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 # This script builds and then uploads the Dart client sample app to AppEngine, | 6 # This script builds and then uploads the Dart client sample app to AppEngine, |
7 # where it is accessible by visiting http://dart.googleplex.com. | 7 # where it is accessible by visiting http://dart.googleplex.com. |
8 import os | 8 import os |
9 import subprocess | 9 import subprocess |
10 import sys | 10 import sys |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 # parser.print_help() | 74 # parser.print_help() |
75 # return 1 | 75 # return 1 |
76 | 76 |
77 REL_APP_PATH = relpath(APP_PATH) | 77 REL_APP_PATH = relpath(APP_PATH) |
78 for file in getAllHtmlFiles(): | 78 for file in getAllHtmlFiles(): |
79 infile = join(REL_APP_PATH, file) | 79 infile = join(REL_APP_PATH, file) |
80 convertOne(infile, options) | 80 convertOne(infile, options) |
81 | 81 |
82 if __name__ == '__main__': | 82 if __name__ == '__main__': |
83 main() | 83 main() |
OLD | NEW |