Chromium Code Reviews| Index: tools/list_version.py |
| diff --git a/tools/list_version.py b/tools/list_version.py |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..6e016dadd0a8904acd912f58f4da53e754356119 |
| --- /dev/null |
| +++ b/tools/list_version.py |
| @@ -0,0 +1,19 @@ |
| +#!/usr/bin/env python |
| +# |
| +# Copyright (c) 2013, 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. |
| +# |
| +# A script which will be invoked from gyp to list the current version. |
|
Andrei Mouravski
2013/02/08 23:36:31
Current version of what?
Jacob
2013/02/09 02:37:28
of the sdk
|
| +# |
| +# Usage: list_version |
| +# |
| + |
| +import sys |
| +import utils |
| + |
| +def Main(argv): |
| + print(utils.GetVersion()) |
| + |
| +if __name__ == '__main__': |
| + sys.exit(Main(sys.argv)) |