Created
February 21, 2017 15:10
-
-
Save naumanbadar/50d342adb99dde8b67e45f091fb6b84b to your computer and use it in GitHub Desktop.
Run code from Integration test of project from sbt task
This file contains hidden or 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
lazy val resurrectDb = taskKey[Unit]("Resurrect database from schema file") | |
val filter: ScopeFilter = | |
ScopeFilter( | |
inProjects( core ), | |
inConfigurations( IntegrationTest), | |
inTasks(compile) | |
) | |
resurrectDb := runMain.toTask(" db.DbBootstrapper").all(filter).value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment