Created
September 28, 2010 23:50
-
-
Save harrah/602033 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
import xsbti.api._ | |
class Single(info: ProjectInfo) extends DefaultProject(info) | |
{ | |
lazy val allDefs = compile map { _.apis.internal.flatMap(_._2.definitions) } | |
lazy val modules = allDefs map { | |
_.collect { case c: ClassLike if c.definitionType == DefinitionType.Module => c.name } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment