File tree 1 file changed +3
-5
lines changed
support/src/main/scala/com/typesafe/dbuild/support/sbt 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -336,11 +336,9 @@ object SbtRunner {
336
336
val addDBuildPlugin =
337
337
""" addSbtPlugin("com.typesafe.dbuild" % "plugin" % """ + '"' + Defaults .version + " \" )\n\n "
338
338
339
- /**
340
- * Perform a state transformation using onLoad()
341
- */
339
+ /** Perform a state transformation using onLoad() */
342
340
def onLoad (activity : String ) = {
343
- " onLoad in Global << = (onLoad in Global) { previousOnLoad => previousOnLoad andThen { state => { " + activity + " } }} \n\n "
341
+ " onLoad in Global ~ = (previousOnLoad => previousOnLoad andThen ( state => { " + activity + " })) \n\n "
344
342
}
345
343
346
344
// stuff related to generateArtifacts()
@@ -351,4 +349,4 @@ object SbtRunner {
351
349
def genArtsInputFile (projectDir : File ) = projectDir / dbuildSbtDirName / getArtsInputFileName
352
350
/** The file where the resulting BuildArtifactsOut will be stored, at the end of building */
353
351
def buildArtsFile (projectDir : File ) = projectDir / dbuildSbtDirName / outBuildArtsName
354
- }
352
+ }
You can’t perform that action at this time.
0 commit comments