An SBT Plugin to for scalatra
Scala
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project Updated sbt version Mar 8, 2018
src Deleted JRebelPlugin Jun 30, 2018
.gitignore Added dist plugin. Jul 29, 2013
.travis.yml add "sudo: false" setting Jun 24, 2017
Changes Deleted JRebelPlugin Jun 30, 2018
LICENSE Add license Apr 13, 2015
README.md Deleted JRebelPlugin Jun 30, 2018
build.sbt Deleted JRebelPlugin Jun 30, 2018
scripted.sbt upgrade to sbt 1.0.2 Sep 24, 2017

README.md

sbt-scalatra

Build Status

An sbt plugins set for Scalatra application development.

Add the plugin in project/plugins.sbt

addSbtPlugin("org.scalatra.sbt" % "sbt-scalatra" % "1.0.3")

ScalatraPlugin

This plugin adds a browse task, to open the current project in a browser. It also enables JettyPlugin provided by xsbt-web-plugin, so you can use task 'jetty:start' and 'jetty:stop'.

usage

enablePlugins(ScalatraPlugin)

Execute the browse task from sbt shell, the browser starts up.

> jetty:start
> browse
> jetty:stop

DistPlugin

DistPlugin unifies all the plugins in this project by grouping their settings.

usage

enablePlugins(DistPlugin)

Execute the task as follows with the sbt shell, distribution file (zip) will be created.

> dist