mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
6b6b28e065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18 260f80e4-7a28-3924-810f-c04153c831b5
20 lines
604 B
Python
20 lines
604 B
Python
#!/usr/bin/env python
|
|
#
|
|
# Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
import os
|
|
import subprocess
|
|
import sys
|
|
|
|
import utils
|
|
|
|
# Figure out the full path to the real dashc from the cwd.
|
|
scriptPath = os.path.dirname(__file__)
|
|
buildRoot = utils.GetBuildRoot(utils.GuessOS())
|
|
dashcPath = os.path.join(scriptPath, "../compiler", buildRoot,
|
|
"Debug/ant-out/dist/bin/dashc")
|
|
|
|
args = [dashcPath] + sys.argv[1:]
|
|
sys.exit(subprocess.call(args))
|