-
Notifications
You must be signed in to change notification settings - Fork 3
Support for calling jruby from sbt
License
banshee/sbt-jruby
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
// Create project/project/SbtJruby.scala containing:
import sbt._
object PluginDef extends Build {
override lazy val projects = Seq(root)
lazy val root = Project("plugins", file(".")) dependsOn( webPlugin )
lazy val webPlugin = uri("git://github.com/banshee/sbt-jruby.git")
}
// Configure your build.sbt file with:
// By default, the plugin doesn't export its settings. Add these lines to your .sbt file:
seq(SbtJRuby.SbtJRubySettings.settings: _*)
// Specify a ruby file to run
jrubyFile in compile := file("foobar.rb")
// Not required, but this is how you make compiling dependent on the jruby task
compile <<= (compile in Compile) dependsOn jruby
About
Support for calling jruby from sbt
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published