Skip to content
Newer
Older
100644 39 lines (32 sloc) 1003 Bytes
bd17c15 @nicksieger Break up Rakefile into rakelib/*.rake
nicksieger authored Nov 3, 2009
1 #
2 # Rakefile for JRuby.
3 #
4 # At this time, most JRuby build tasks still use build.xml and Apache
5 # Ant. This Rakefile has some additional tasks. We hope to migrate
6 # more out of build.xml and into Rake in the future.
7 #
8 # See also rakelib/*.rake for more tasks and details.
46dbe6e @enebo JRUBY-4137: ant dist/rake installers should generate sha1 and md5 fil…
enebo authored Oct 23, 2009
9
bd9ecdf @headius Adding a basic Rakefile, just invokes ant right now, but a prelude to…
headius authored Mar 7, 2008
10 task :default => [:build]
11
12 desc "Build JRuby"
13 task :build do
14 ant "jar"
15 end
1e7775f @headius Add tracing tests from Martin Krauskopf from JRUBY-2745.
headius authored Jul 14, 2008
16
bd17c15 @nicksieger Break up Rakefile into rakelib/*.rake
nicksieger authored Nov 3, 2009
17 task :jar => :build
7f41a02 @headius Add spec targets and namespace
headius authored Mar 8, 2008
18
bd9ecdf @headius Adding a basic Rakefile, just invokes ant right now, but a prelude to…
headius authored Mar 7, 2008
19 desc "Clean all built output"
20 task :clean do
99368b8 @headius Add smarts to rakefile to read in properties, implement clean without…
headius authored Mar 8, 2008
21 delete_files = FileList.new do |fl|
22 fl.
23 include("#{BUILD_DIR}/**").
24 exclude("#{BUILD_DIR}/rubyspec").
25 include(DIST_DIR).
26 include(API_DOCS_DIR)
27 end
ef88021 @nicksieger Reinstate f65d63b, with some fixes.
nicksieger authored Nov 3, 2009
28
99368b8 @headius Add smarts to rakefile to read in properties, implement clean without…
headius authored Mar 8, 2008
29 delete_files.each {|files| rm_rf files, :verbose => true}
bd9ecdf @headius Adding a basic Rakefile, just invokes ant right now, but a prelude to…
headius authored Mar 7, 2008
30 end
f8a029a @headius First round of logic to pregenerate method binding code, to avoid wal…
headius authored Mar 20, 2008
31
32 desc "Generate sources, compile and add to jar file"
33 task :gen do
0e64731 @headius Add mkdir_p to ensure src_gen dir is available.
headius authored Mar 20, 2008
34 mkdir_p 'src_gen'
f86e329 @BanzaiMan Update asm jar versions in Rakefile
BanzaiMan authored Nov 29, 2011
35 system 'apt -nocompile -cp lib/jruby.jar:build_lib/asm-4.0.jar:build_lib/asm-util-4.0.jar -factory org.jruby.anno.AnnotationBinder src/org/jruby/*.java'
f8a029a @headius First round of logic to pregenerate method binding code, to avoid wal…
headius authored Mar 20, 2008
36 system 'javac -cp lib/jruby.jar src_gen/*.java'
37 system 'jar -uf lib/jruby.jar -C src_gen .'
f020805 @nicksieger Add directory/framework for new java integration specs
nicksieger authored Apr 16, 2008
38 end
Something went wrong with that request. Please try again.