-
-
Save julienrf/fbcdf4eb368e048b111a19f8a72a34ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InputKey[Unit]("charts") := Def.inputTaskDyn { | |
val targetDir = crossTarget.value | |
val report = targetDir / "report.json" | |
Def.task { | |
val _ = (run in Compile).fullInput(s" ${report.absolutePath}").evaluated | |
// ^ Illegal dynamic dependency | |
strawman.collection.Bencharts(report, "Memory footprint (lower is better)", targetDir) | |
} | |
}.inputTaskValue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InputKey[Unit]("charts") := { | |
val targetDir = crossTarget.value | |
val report = targetDir / "report.json" | |
val _ = (run in Compile).fullInput(s" ${report.absolutePath}").evaluated | |
// ^ Illegal dynamic reference: report | |
strawman.collection.Bencharts(report, "Memory footprint (lower is better)", targetDir) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment