mirror of https://github.com/sbt/sbt.git
rename frontend -> backend
This commit is contained in:
parent
a89e63f956
commit
932085bdf6
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
package net.virtualvoid.sbt.graph
|
||||
|
||||
import net.virtualvoid.sbt.graph.frontend.SbtUpdateReport
|
||||
import net.virtualvoid.sbt.graph.backend.{ IvyReport, SbtUpdateReport }
|
||||
import sbt._
|
||||
import Keys._
|
||||
|
||||
|
|
@ -100,7 +100,7 @@ object DependencyGraphSettings {
|
|||
},
|
||||
licenseInfo <<= (moduleGraph, streams) map showLicenseInfo))
|
||||
|
||||
def ivyReportGraph = ivyReport map (absoluteReportPath.andThen(frontend.IvyReport.fromReportFile))
|
||||
def ivyReportGraph = ivyReport map (absoluteReportPath.andThen(IvyReport.fromReportFile))
|
||||
def sbtUpdateReportGraph =
|
||||
(ignoreMissingUpdate, crossProjectId, configuration) map { (update, root, config) ⇒
|
||||
SbtUpdateReport.fromConfigurationReport(update.configuration(config.name).get, root)
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@ package net.virtualvoid.sbt.graph
|
|||
|
||||
import java.io.File
|
||||
|
||||
import net.virtualvoid.sbt.graph.backend.IvyReport
|
||||
|
||||
object Main extends App {
|
||||
def die(msg: String): Nothing = {
|
||||
println(msg)
|
||||
|
|
@ -28,6 +30,6 @@ object Main extends App {
|
|||
|
||||
val reportFile = args.lift(0).filter(f ⇒ new File(f).exists).getOrElse(die(usage))
|
||||
val outputFile = args.lift(1).getOrElse(die(usage))
|
||||
val graph = frontend.IvyReport.fromReportFile(reportFile)
|
||||
val graph = IvyReport.fromReportFile(reportFile)
|
||||
rendering.GraphML.saveAsGraphML(graph, outputFile)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,9 +14,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package net.virtualvoid.sbt.graph.frontend
|
||||
|
||||
import net.virtualvoid.sbt.graph._
|
||||
package net.virtualvoid.sbt.graph
|
||||
package backend
|
||||
|
||||
import scala.xml.{ NodeSeq, Document, Node }
|
||||
import scala.xml.parsing.ConstructingParser
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
package net.virtualvoid.sbt.graph
|
||||
package frontend
|
||||
package backend
|
||||
|
||||
import sbt._
|
||||
|
||||
Loading…
Reference in New Issue