Created
August 15, 2012 21:16
-
-
Save joannecheng/3363758 to your computer and use it in GitHub Desktop.
ant build scripts in jruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure ant is installed and available on the machine | |
require 'ant' | |
ant :name => 'hello', :default => 'hello' do | |
target :name => 'hello' do | |
echo :message => 'Hello world!' | |
end | |
end | |
# $ jruby build.rb | |
# > hello: | |
# > Hello world! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment