Index: tools/list_version.py |
diff --git a/tools/list_version.py b/tools/list_version.py |
new file mode 100755 |
index 0000000000000000000000000000000000000000..3458d2b712d7354947ecedab3ba42a60566a4807 |
--- /dev/null |
+++ b/tools/list_version.py |
@@ -0,0 +1,20 @@ |
+#!/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 of the |
ahe
2013/02/09 11:54:20
Perhaps my English is flawed but isn't it "print"
Jacob
2013/02/11 01:44:11
I've renamed it to print.
|
+# SDK. |
+# |
+# Usage: list_version |
+# |
+ |
+import sys |
+import utils |
+ |
+def Main(argv): |
+ print(utils.GetVersion()) |
+ |
+if __name__ == '__main__': |
+ sys.exit(Main(sys.argv)) |