buildr-mirah

Use buildr to build Mirah code.

Status

Alpha

Overview

Simple buildr extension to support Mirah.

NOTE currently only tested with JRuby.

Known Bugs

  • classfiles are currently output in the same directory as the sources...
  • you may require my patches to Antwrap on JRuby for now?

Prerequisites

  • buildr >=1.4.0
  • mirah >=0.7.0

Installation

$ gem install buildr-mirah

Usage

Here's an example Buildfile:

#
# boom -- mirah support enabled!
#
require "buildr/mirah"

repositories.remote << "http://mirrors.ibiblio.org/pub/mirrors/maven2/"

#
# optional, but nice if you don't like the src/main/mirah layout.
#
mirah_layout = Layout.new
mirah_layout[:source, :main, :mirah] = "src"

define "my-app", :layout => mirah_layout do
  project.version = "0.0.1"
  package :jar
end

Then:

$ buildr compile

License

This software is available to you under the terms of the MIT license.

Support

Please log defects and feature requests using the github issue tracker.

About

buildr-mirah was written by Tom Lee.

Follow me on Twitter or LinkedIn.