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

Unified Diff: Tools/Scripts/webkitpy/formatter/__main__.py

Issue 546613003: Add a new 'format-webkitpy' command that will reformat code to the style guide. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove hack from test/main.py Created 6 years, 3 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/Scripts/webkitpy/formatter/__main__.py
diff --git a/Tools/Scripts/webkitpy/formatter/__main__.py b/Tools/Scripts/webkitpy/formatter/__main__.py
new file mode 100644
index 0000000000000000000000000000000000000000..b767df613588a564c872cce450238f133144d463
--- /dev/null
+++ b/Tools/Scripts/webkitpy/formatter/__main__.py
@@ -0,0 +1,11 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import sys
+
+from webkitpy.formatter.main import main
+
+
+if __name__ == '__main__':
+ sys.exit(main())
« no previous file with comments | « Tools/Scripts/webkitpy/formatter/__init__.py ('k') | Tools/Scripts/webkitpy/formatter/fix_double_quote_strings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698