Skip to content

scalatra/sbt-scalatra

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.4")

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

About

An SBT Plugin to for scalatra

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages