OLD | NEW |
| (Empty) |
1 #!/usr/bin/env python | |
2 # | |
3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
4 # for details. All rights reserved. Use of this source code is governed by a | |
5 # BSD-style license that can be found in the LICENSE file. | |
6 | |
7 import os | |
8 import subprocess | |
9 import sys | |
10 | |
11 import utils | |
12 | |
13 # Figure out the full path to the real dashc from the cwd. | |
14 scriptPath = os.path.dirname(__file__) | |
15 buildRoot = utils.GetBuildRoot(utils.GuessOS()) | |
16 dashcPath = os.path.join(scriptPath, "../compiler", buildRoot, | |
17 "Debug/ant-out/dist/bin/dashc") | |
18 | |
19 args = [dashcPath] + sys.argv[1:] | |
20 sys.exit(subprocess.call(args)) | |
OLD | NEW |