mirror of https://github.com/sbt/sbt.git
conditionally initialize onLoad and onUnload. fixes #186
This commit is contained in:
parent
b55c13d254
commit
babe8dbbdb
|
|
@ -54,8 +54,8 @@ object Defaults extends BuildCommon
|
|||
pollInterval :== 500,
|
||||
logBuffered :== false,
|
||||
autoScalaLibrary :== true,
|
||||
onLoad :== idFun[State],
|
||||
onUnload :== idFun[State],
|
||||
onLoad <<= onLoad ?? idFun[State],
|
||||
onUnload <<= onUnload ?? idFun[State],
|
||||
definesClass :== FileValueCache(Locate.definesClass _ ).get,
|
||||
trapExit :== false,
|
||||
trapExit in run :== true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue