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,
|
pollInterval :== 500,
|
||||||
logBuffered :== false,
|
logBuffered :== false,
|
||||||
autoScalaLibrary :== true,
|
autoScalaLibrary :== true,
|
||||||
onLoad :== idFun[State],
|
onLoad <<= onLoad ?? idFun[State],
|
||||||
onUnload :== idFun[State],
|
onUnload <<= onUnload ?? idFun[State],
|
||||||
definesClass :== FileValueCache(Locate.definesClass _ ).get,
|
definesClass :== FileValueCache(Locate.definesClass _ ).get,
|
||||||
trapExit :== false,
|
trapExit :== false,
|
||||||
trapExit in run :== true,
|
trapExit in run :== true,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue