Created
August 4, 2011 02:03
-
-
Save xuwei-k/1124350 to your computer and use it in GitHub Desktop.
xsbtscript https://github.com/paulp/xsbtscript をつかってみた
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
#!/usr/bin/env xsbtscript | |
!# | |
/*** | |
scalaVersion := "2.9.0-1" | |
libraryDependencies ++= Seq( | |
"com.mongodb.casbah" %% "casbah-core" % "2.1.5-1" | |
) | |
*/ | |
import com.mongodb.casbah.Imports._ | |
val obj = DBObject("foo" -> "bar") | |
println(obj) |
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
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | |
SLF4J: Defaulting to no-operation (NOP) logger implementation | |
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | |
{ "foo" : "bar"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment