Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added option to run it on just one module

  • Loading branch information...
commit fcdad410f01305a1bc659f254849e5b6dd60a8dc 1 parent e4a90b1
@egonw authored
Showing with 8 additions and 3 deletions.
  1. +8 −3 createModulePages.groovy
View
11 createModulePages.groovy
@@ -29,9 +29,14 @@ ant.delete(dir:"doc/modules")
ant.mkdir(dir:"doc/modules")
def basedir = new File("src/META-INF")
-files = basedir.listFiles().grep(~/.*cdkdepends$/)
-files.add(new File(basedir,"annotation.cdkdepends"))
-files.add(new File(basedir,"interfaces.cdkdepends"))
+files = new ArrayList();
+if (args[0] != null) {
+ files.add(new File(basedir, args[0] + ".cdkdepends"));
+} else {
+ files = basedir.listFiles().grep(~/.*cdkdepends$/)
+ files.add(new File(basedir,"annotation.cdkdepends"))
+ files.add(new File(basedir,"interfaces.cdkdepends"))
+}
files.each { file ->
println "Processing $file";
m = (file =~ ~/\/([-|\w]*)\.cdkdepends/)

0 comments on commit fcdad41

Please sign in to comment.
Something went wrong with that request. Please try again.