Permalink
Browse files

Added command normws.

  • Loading branch information...
1 parent 31393d4 commit 85fd94dd5acde6e14334ff834eedd00d37094daf @chriskr chriskr committed Nov 9, 2012
Showing with 14 additions and 0 deletions.
  1. +1 −0 df2/df2.py
  2. +13 −0 df2/normws.py
View
1 df2/df2.py
@@ -16,6 +16,7 @@
import showconfig
import build
import cleanrepo
+import normws
import codegen.msgdefs
import codegen.jsclasses
import codegen.scopedoc
View
13 df2/normws.py
@@ -0,0 +1,13 @@
+import build
+import jssort
+import os
+import cleanrepo
+
+def normws(args):
+ cleanrepo.normws(src=".")
+
+def setup_subparser(subparsers, config):
+ subp = subparsers.add_parser("normws", help="""Runs normws.
+ Must be run in the root of a
+ Dragonfly repo""")
+ subp.set_defaults(func=normws)

0 comments on commit 85fd94d

Please sign in to comment.