mirror of
https://github.com/sbt/sbt.git
synced 2026-09-05 01:03:36 +02:00
locking of boot directory can be disabled by with [boot].lock: true in boot.properties
This commit is contained in:
@@ -77,5 +77,5 @@ object ComponentManagerTest extends Specification
|
||||
private def writeRandomContent(file: File) = IO.write(file, randomString)
|
||||
private def randomString = "asdf"
|
||||
private def withManager[T](f: ComponentManager => T): T =
|
||||
TestLogger( logger => withTemporaryDirectory { temp => f(new ComponentManager(xsbt.boot.Locks, new xsbt.boot.ComponentProvider(temp), logger)) } )
|
||||
TestLogger( logger => withTemporaryDirectory { temp => f(new ComponentManager(xsbt.boot.Locks, new xsbt.boot.ComponentProvider(temp, true), logger)) } )
|
||||
}
|
||||
Reference in New Issue
Block a user