Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: tools/list_version.py

Issue 12217077: Generate separate json files for each library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: PTAL Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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))

Powered by Google App Engine
This is Rietveld 408576698