-
Notifications
You must be signed in to change notification settings - Fork 5
Usage
In project/plugins.sbt
scalaVersion := "2.9.2"
is needed AFAIU by play2 plugin.
addSbtPlugin("net.orcades" % "sbt-dart-plugin" % "0.2.2-SNAPSHOT")
The plugin will can append eclipse nature/build command with eclipse sbt command
sbt eclipse
Dart resources must be located in $base/web folder.
Must be declared in build.sbt as:
dartEntryPoints += "sosimple.dart"
or
dartEntryPoints ++= Seq("sosimple.dart", "anotherSimple.dart")
Must be declared in build.sbt as:
dartWebUIEntryPoints += "speakers.html"
or
dartWebUIEntryPoints ++= Seq("speakers.html, "module/anotherWebUI.html")
Web UI Simple Page Applications are deployed as:
http://localhost:9000/out/speakers.html
and
http://localhost:9000/module/out/anotherWebUI.html
To deploy sourcemap you must add in build.sbt
dartDev := true
To skip js generation, work only with dartium (chrome with dart vm).
dartNoJs := true
To fill console with logs :)
dartVerbose := true