Skip to content

Instantly share code, notes, and snippets.

@tototoshi
Created November 30, 2013 17:24
Show Gist options
  • Save tototoshi/7721834 to your computer and use it in GitHub Desktop.
Save tototoshi/7721834 to your computer and use it in GitHub Desktop.
Open h2-browser with Skinny TaskLauncher
import scala.concurrent.Future
import scala.concurrent.ExecutionContext.Implicits.global
object TaskLancher extends skinny.task.TaskLauncher {
register("h2-browser", (params) => {
val f = Future {
org.h2.tools.Server.main()
}
f.onFailure { case e => e.printStackTrace() }
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment