You only need a recent version of Java, that's all:
$ git clone [email protected]:w3c/banana-rdf.git
$ cd banana-rdf
$ sbt
It's also easy to just build specific target platforms:
$ sbt +banana_js/test # for javascript only
$ sbt +banana_jvm/test # for jvm only
( note: scala-js compilation uses more memory. see travis.yml )
banana-rdf
works with eclipse , IntelliJ IDEA and other IDEs.
Eclipse should work "out of the box" with the addition of the following global settings to global.sbt:
In ~/.sbt/0.13/global.sbt
(global sbt location in Linux and MacOS, in Windows it is different):
unmanagedSourceDirectories in Compile ~= { _.filter(_.exists) }
In ~/.sbt/0.13/plugins/build.sbt
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0")
To generate eclipse project files, just run the command:
$ sbt eclipse
IntelliJ IDEA can open sbt projects directly. There is an annoying bug that in some cases it does not show all the subprojects after import ( to overcome this just go to SBT tool window and refresh the project).