Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

enable scons style

  • Loading branch information...
commit 93286ffa825204f2a264f047a1371e924cdf71a6 1 parent 8c09870
@erh erh authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 SConstruct
View
8 SConstruct
@@ -1333,14 +1333,16 @@ env.AlwaysBuild("docs")
# ---- astyle ----
def doStyling( env , target , source ):
- cmd = "astyle --options=mongo_astyle " + " ".join( utils.getAllSourceFiles() )
+ files = utils.getAllSourceFiles()
+ files = filter( lambda x: not x.endswith( ".c" ) , files )
+ cmd = "astyle --options=mongo_astyle " + " ".join( files )
res = utils.execsys( cmd )
print( res[0] )
print( res[1] )
-#env.Alias( "style" , [] , [ doStyling ] )
-#env.AlwaysBuild( "style" )
+env.Alias( "style" , [] , [ doStyling ] )
+env.AlwaysBuild( "style" )
Please sign in to comment.
Something went wrong with that request. Please try again.