rake-builder 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rake/builder.rb +15 -10
- data/lib/rake/builder/local_config.rb +2 -0
- data/lib/rake/builder/task_definers/builder_collection_task_definer.rb +1 -5
- data/lib/rake/builder/task_definers/builder_task_definer.rb +24 -21
- data/lib/rake/builder/version.rb +1 -1
- data/lib/rake/path.rb +7 -35
- data/spec/unit/rake/builder/local_config_spec.rb +27 -0
- data/spec/unit/rake/builder/task_definers/builder_task_definer_spec.rb +85 -0
- data/spec/unit/rake/builder_spec.rb +53 -6
- data/spec/unit/rake/path_spec.rb +29 -0
- metadata +41 -427
- data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/Rakefile +0 -412
- data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/fbuffer/fbuffer.h +0 -185
- data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.c +0 -1427
- data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.h +0 -149
- data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.c +0 -2204
- data/examples/03_search_paths/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.h +0 -77
- data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/Rakefile +0 -374
- data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/doc/example/a.c +0 -6
- data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/doc/example/b.c +0 -6
- data/examples/03_search_paths/vendor/bundle/gems/rake-10.0.3/doc/example/main.c +0 -11
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/Rakefile +0 -125
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/binding_of_caller.c +0 -224
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/debug.h +0 -36
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/dln.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/eval_intern.h +0 -232
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/gc.h +0 -77
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/id.h +0 -173
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/iseq.h +0 -104
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/method.h +0 -103
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/node.h +0 -483
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/regenc.h +0 -211
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/regint.h +0 -841
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/regparse.h +0 -354
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/thread_pthread.h +0 -27
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/thread_win32.h +0 -33
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/transcode_data.h +0 -109
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/version.h +0 -63
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_core.h +0 -703
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_insnhelper.h +0 -208
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/192/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/atomic.h +0 -56
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/gc.h +0 -98
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/internal.h +0 -227
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/iseq.h +0 -125
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/parse.h +0 -186
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/regint.h +0 -851
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_core.h +0 -755
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/binding_of_caller-0.6.8/ext/binding_of_caller/ruby_headers/193/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/bond-0.4.3/Rakefile +0 -47
- data/examples/04_zlib/vendor/bundle/gems/bond-0.4.3/ext/readline_line_buffer/readline_line_buffer.c +0 -24
- data/examples/04_zlib/vendor/bundle/gems/coderay-1.0.8/Rakefile +0 -35
- data/examples/04_zlib/vendor/bundle/gems/columnize-0.3.6/Rakefile +0 -93
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/Rakefile +0 -130
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/192/breakpoint.c +0 -586
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/192/ruby_debug.c +0 -2645
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/192/ruby_debug.h +0 -148
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/193/breakpoint.c +0 -586
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/193/ruby_debug.c +0 -2626
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/193/ruby_debug.h +0 -148
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/breakpoint.c +0 -586
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/ruby_debug.c +0 -2626
- data/examples/04_zlib/vendor/bundle/gems/debugger-1.2.4/ext/ruby_debug/ruby_debug.h +0 -148
- data/examples/04_zlib/vendor/bundle/gems/debugger-linecache-1.1.2/Rakefile +0 -71
- data/examples/04_zlib/vendor/bundle/gems/debugger-linecache-1.1.2/ext/trace_nums/trace_nums.c +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-linecache-1.1.2/ext/trace_nums/trace_nums.h +0 -111
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/Rakefile +0 -32
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/debug.h +0 -36
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/dln.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/encdb.h +0 -163
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/eval_intern.h +0 -232
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/gc.h +0 -77
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/id.h +0 -170
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/iseq.h +0 -104
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/method.h +0 -103
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/node.h +0 -483
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/parse.h +0 -187
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regenc.h +0 -211
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regint.h +0 -841
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/regparse.h +0 -354
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/thread_pthread.h +0 -27
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/thread_win32.h +0 -33
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/transcode_data.h +0 -109
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/transdb.h +0 -179
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/version.h +0 -55
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_core.h +0 -707
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_insnhelper.h +0 -208
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p290/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/debug.h +0 -36
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/dln.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/encdb.h +0 -163
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/eval_intern.h +0 -232
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/gc.h +0 -77
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/id.h +0 -170
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/iseq.h +0 -104
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/method.h +0 -103
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/node.h +0 -483
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/parse.h +0 -186
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regenc.h +0 -211
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regint.h +0 -841
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/regparse.h +0 -354
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/thread_pthread.h +0 -27
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/thread_win32.h +0 -33
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/transcode_data.h +0 -109
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/transdb.h +0 -179
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/version.h +0 -55
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_core.h +0 -706
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_insnhelper.h +0 -208
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p318/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/debug.h +0 -36
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/dln.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/encdb.h +0 -163
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/eval_intern.h +0 -232
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/gc.h +0 -77
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/id.h +0 -170
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/iseq.h +0 -104
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/method.h +0 -103
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/node.h +0 -483
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/parse.h +0 -186
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regenc.h +0 -211
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regint.h +0 -841
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/regparse.h +0 -354
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/thread_pthread.h +0 -27
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/thread_win32.h +0 -33
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/transcode_data.h +0 -109
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/transdb.h +0 -179
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/version.h +0 -55
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_core.h +0 -706
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_insnhelper.h +0 -208
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.2-p320/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/atomic.h +0 -56
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/gc.h +0 -98
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/internal.h +0 -227
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/iseq.h +0 -125
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/parse.h +0 -186
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regint.h +0 -851
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_core.h +0 -756
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p0/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/atomic.h +0 -56
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/gc.h +0 -98
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/internal.h +0 -231
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/iseq.h +0 -125
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/parse.h +0 -186
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regint.h +0 -850
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_core.h +0 -756
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p125/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/atomic.h +0 -56
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/gc.h +0 -98
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/internal.h +0 -232
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/iseq.h +0 -125
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/parse.h +0 -186
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regint.h +0 -850
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_core.h +0 -756
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p194/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/atomic.h +0 -56
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/gc.h +0 -99
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/internal.h +0 -232
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/iseq.h +0 -125
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/parse.h +0 -302
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regint.h +0 -850
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_core.h +0 -756
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p286/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/atomic.h +0 -56
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/gc.h +0 -99
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/internal.h +0 -239
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/iseq.h +0 -125
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/parse.h +0 -302
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regint.h +0 -850
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/siphash.h +0 -48
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_core.h +0 -756
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p327/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/gc.h +0 -99
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/internal.h +0 -239
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/iseq.h +0 -127
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/parse.h +0 -302
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/regint.h +0 -850
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/ruby_atomic.h +0 -115
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/siphash.h +0 -48
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_core.h +0 -756
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p362/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/addr2line.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/constant.h +0 -34
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/debug.h +0 -41
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/dln.h +0 -50
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/encdb.h +0 -167
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/eval_intern.h +0 -234
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/gc.h +0 -99
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/id.h +0 -175
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/internal.h +0 -239
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/iseq.h +0 -126
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/method.h +0 -105
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/node.h +0 -503
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/parse.h +0 -302
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/regenc.h +0 -219
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/regint.h +0 -850
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/regparse.h +0 -362
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/revision.h +0 -1
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/ruby_atomic.h +0 -115
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/siphash.h +0 -48
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/thread_pthread.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/thread_win32.h +0 -40
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/timev.h +0 -21
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/transcode_data.h +0 -117
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/transdb.h +0 -189
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/version.h +0 -52
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_core.h +0 -763
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_exec.h +0 -184
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_insnhelper.h +0 -220
- data/examples/04_zlib/vendor/bundle/gems/debugger-ruby_core_source-1.1.7/lib/debugger/ruby_core_source/ruby-1.9.3-p374/vm_opts.h +0 -51
- data/examples/04_zlib/vendor/bundle/gems/interception-0.3/Rakefile +0 -32
- data/examples/04_zlib/vendor/bundle/gems/interception-0.3/ext/interception.c +0 -73
- data/examples/04_zlib/vendor/bundle/gems/jist-1.3.1/Rakefile +0 -10
- data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/Rakefile +0 -412
- data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/fbuffer/fbuffer.h +0 -185
- data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.c +0 -1427
- data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.h +0 -149
- data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.c +0 -2204
- data/examples/04_zlib/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.h +0 -77
- data/examples/04_zlib/vendor/bundle/gems/method_source-0.8.1/Rakefile +0 -79
- data/examples/04_zlib/vendor/bundle/gems/pry-0.9.11.4/Rakefile +0 -136
- data/examples/04_zlib/vendor/bundle/gems/pry-debugger-0.2.1/Rakefile +0 -2
- data/examples/04_zlib/vendor/bundle/gems/pry-doc-0.4.4/Rakefile +0 -88
- data/examples/04_zlib/vendor/bundle/gems/pry-exception_explorer-0.2.3/Rakefile +0 -123
- data/examples/04_zlib/vendor/bundle/gems/pry-rescue-0.15/Rakefile +0 -22
- data/examples/04_zlib/vendor/bundle/gems/pry-stack_explorer-0.4.7/Rakefile +0 -109
- data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/Rakefile +0 -374
- data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/doc/example/a.c +0 -6
- data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/doc/example/b.c +0 -6
- data/examples/04_zlib/vendor/bundle/gems/rake-10.0.3/doc/example/main.c +0 -11
- data/examples/04_zlib/vendor/bundle/gems/slop-3.4.3/Rakefile +0 -29
- data/examples/04_zlib/vendor/bundle/gems/yard-0.8.3/Rakefile +0 -61
data/lib/rake/builder.rb
CHANGED
@@ -165,6 +165,10 @@ module Rake
|
|
165
165
|
# Each instance has its own logger
|
166
166
|
attr_accessor :logger
|
167
167
|
|
168
|
+
# Command line parameters to pass to the target when it is executed
|
169
|
+
# with the `run` task. Default: []
|
170
|
+
attr_accessor :target_parameters
|
171
|
+
|
168
172
|
# All Rake::Builder instances that get defined
|
169
173
|
# This allows us to create scripts for configure
|
170
174
|
@instances = []
|
@@ -215,11 +219,14 @@ module Rake
|
|
215
219
|
old_dir = Dir.pwd
|
216
220
|
Dir.chdir rakefile_path
|
217
221
|
command = File.join('.', target)
|
222
|
+
if target_parameters.size > 0
|
223
|
+
command << " " << target_parameters.join(" ")
|
224
|
+
end
|
218
225
|
begin
|
219
226
|
output, error = shell(command, ::Logger::INFO)
|
220
227
|
$stdout.print output
|
221
228
|
$stderr.print error
|
222
|
-
raise Exception.new("Running #{command} failed with status #{$?.exitstatus}") if
|
229
|
+
raise Exception.new("Running #{command} failed with status #{$?.exitstatus}") if ! $?.success?
|
223
230
|
ensure
|
224
231
|
Dir.chdir old_dir
|
225
232
|
end
|
@@ -327,12 +334,8 @@ module Rake
|
|
327
334
|
File.basename(@target)
|
328
335
|
end
|
329
336
|
|
330
|
-
def primary_name
|
331
|
-
Rake::Path.relative_path(target, rakefile_path, :initial_dot_slash => false)
|
332
|
-
end
|
333
|
-
|
334
337
|
def label
|
335
|
-
|
338
|
+
target.gsub(%r(\.), '_')
|
336
339
|
end
|
337
340
|
|
338
341
|
# Source files found in source_search_paths
|
@@ -411,6 +414,7 @@ module Rake
|
|
411
414
|
@compilation_options = []
|
412
415
|
@include_paths = ['./include']
|
413
416
|
@installable_headers ||= []
|
417
|
+
@target_parameters = []
|
414
418
|
end
|
415
419
|
|
416
420
|
def configure
|
@@ -520,7 +524,6 @@ module Rake
|
|
520
524
|
|
521
525
|
def project_headers
|
522
526
|
@installable_headers.reduce([]) do |memo, search|
|
523
|
-
non_glob_search = (search.match(/^([^\*\?]*)/))[1]
|
524
527
|
case
|
525
528
|
when search.start_with?('/'), search.start_with?('..')
|
526
529
|
# Skip paths that are not inside the project
|
@@ -530,11 +533,13 @@ module Rake
|
|
530
533
|
FileList[search + '/*.' + @header_file_extension].each do |pathname|
|
531
534
|
memo << {:source_file => pathname, :relative_path => ''}
|
532
535
|
end
|
533
|
-
when (
|
536
|
+
when search.match(/[\*\?]/)
|
537
|
+
non_glob_part = search[/^([^\*\?]*\/)/, 1]
|
538
|
+
base_path = File.expand_path(non_glob_part, rakefile_path)
|
534
539
|
FileList[search].each do |pathname|
|
535
|
-
full_path =
|
540
|
+
full_path = File.expand_path(pathname, rakefile_path)
|
536
541
|
directory = File.dirname(full_path)
|
537
|
-
relative =
|
542
|
+
relative = File.relative_path(base_path, directory)
|
538
543
|
memo << {:source_file => pathname, :relative_path => relative}
|
539
544
|
end
|
540
545
|
else
|
@@ -4,11 +4,7 @@ class Rake::Builder::BuilderCollectionTaskDefiner
|
|
4
4
|
task :autoconf, [:project_title, :version] => [] do |task, args|
|
5
5
|
raise 'No Rake::Builder projects have been defined' unless Rake::Builder.instances.size > 0
|
6
6
|
first = Rake::Builder.instances[0]
|
7
|
-
|
8
|
-
first.source_files[0],
|
9
|
-
first.rakefile_path
|
10
|
-
)
|
11
|
-
Rake::Builder.create_autoconf(args.project_title, args.version, source)
|
7
|
+
Rake::Builder.create_autoconf(args.project_title, args.version, first.source_files[0])
|
12
8
|
end
|
13
9
|
end
|
14
10
|
end
|
@@ -1,3 +1,6 @@
|
|
1
|
+
require 'logger'
|
2
|
+
require 'rake'
|
3
|
+
|
1
4
|
include Rake::DSL
|
2
5
|
|
3
6
|
class Rake::Builder
|
@@ -20,10 +23,6 @@ class Rake::Builder
|
|
20
23
|
private
|
21
24
|
|
22
25
|
def define
|
23
|
-
once_task :environment do
|
24
|
-
@builder.logger.level = Logger::DEBUG if ENV['DEBUG']
|
25
|
-
end
|
26
|
-
|
27
26
|
if @builder.target_type == :executable
|
28
27
|
desc "Run '#{@builder.target_basename}'"
|
29
28
|
task :run => :build do
|
@@ -61,6 +60,23 @@ class Rake::Builder
|
|
61
60
|
define_compile_task(source, object)
|
62
61
|
end
|
63
62
|
|
63
|
+
# Re-implement :clean locally for project and within namespace
|
64
|
+
# Standard :clean is a singleton
|
65
|
+
desc "Remove temporary files"
|
66
|
+
task :clean do
|
67
|
+
@builder.clean
|
68
|
+
end
|
69
|
+
|
70
|
+
desc "Install '#{@builder.target_basename}' in '#{@builder.install_path}'"
|
71
|
+
task :install, [] => [scoped_task(:build)] do
|
72
|
+
@builder.install
|
73
|
+
end
|
74
|
+
|
75
|
+
desc "Uninstall '#{@builder.target_basename}' from '#{@builder.install_path}'"
|
76
|
+
task :uninstall, [] => [] do
|
77
|
+
@builder.uninstall
|
78
|
+
end
|
79
|
+
|
64
80
|
# TODO: Does this need to be microsecond?
|
65
81
|
microsecond_directory @builder.objects_path
|
66
82
|
|
@@ -98,27 +114,14 @@ class Rake::Builder
|
|
98
114
|
end
|
99
115
|
end
|
100
116
|
|
101
|
-
# Re-implement :clean locally for project and within namespace
|
102
|
-
# Standard :clean is a singleton
|
103
|
-
desc "Remove temporary files"
|
104
|
-
task :clean do
|
105
|
-
@builder.clean
|
106
|
-
end
|
107
|
-
|
108
|
-
desc "Install '#{@builder.target_basename}' in '#{@builder.install_path}'"
|
109
|
-
task :install, [] => [scoped_task(:build)] do
|
110
|
-
@builder.install
|
111
|
-
end
|
112
|
-
|
113
|
-
desc "Uninstall '#{@builder.target_basename}' from '#{@builder.install_path}'"
|
114
|
-
task :uninstall, [] => [] do
|
115
|
-
@builder.uninstall
|
116
|
-
end
|
117
|
-
|
118
117
|
desc "Create a '#{@builder.makefile_name}' to build the project"
|
119
118
|
file "#{@builder.makefile_name}" => [@builder.makedepend_file, scoped_task(:load_makedepend)] do
|
120
119
|
Rake::Builder::Presenters::Makefile::BuilderPresenter.new(@builder).save
|
121
120
|
end
|
121
|
+
|
122
|
+
once_task :environment do
|
123
|
+
@builder.logger.level = ::Logger::DEBUG if ENV['DEBUG']
|
124
|
+
end
|
122
125
|
end
|
123
126
|
|
124
127
|
def define_default
|
data/lib/rake/builder/version.rb
CHANGED
data/lib/rake/path.rb
CHANGED
@@ -1,46 +1,18 @@
|
|
1
1
|
module Rake
|
2
2
|
module Path
|
3
|
-
def self.find_files(
|
4
|
-
files = paths.reduce(
|
3
|
+
def self.find_files(paths, extension)
|
4
|
+
files = paths.reduce([]) do |memo, path|
|
5
5
|
case
|
6
|
-
when File.file?(
|
7
|
-
files = FileList[
|
8
|
-
when (
|
9
|
-
files = FileList[
|
6
|
+
when File.file?(path)
|
7
|
+
files = FileList[path]
|
8
|
+
when path.match(/[\*\?]/)
|
9
|
+
files = FileList[path]
|
10
10
|
else
|
11
|
-
files = FileList[
|
11
|
+
files = FileList[path + '/*.' + extension]
|
12
12
|
end
|
13
13
|
memo + files
|
14
14
|
end
|
15
15
|
end
|
16
|
-
|
17
|
-
# Expand path to an absolute path relative to the supplied root
|
18
|
-
def self.expand_with_root( path, root )
|
19
|
-
if path =~ /^\//
|
20
|
-
File.expand_path( path )
|
21
|
-
else
|
22
|
-
File.expand_path( root + '/' + path )
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
# Expand an array of paths to absolute paths relative to the supplied root
|
27
|
-
def self.expand_all_with_root( paths, root )
|
28
|
-
paths.map{ |path| expand_with_root( path, root ) }
|
29
|
-
end
|
30
|
-
|
31
|
-
def self.relative_path( path, prefix, options = {} )
|
32
|
-
return path if prefix.nil?
|
33
|
-
m = path.match( /^#{ prefix }\/?/ )
|
34
|
-
if ! m.nil?
|
35
|
-
if options[ :initial_dot_slash ]
|
36
|
-
"./#{ m.post_match }"
|
37
|
-
else
|
38
|
-
m.post_match
|
39
|
-
end
|
40
|
-
else
|
41
|
-
path
|
42
|
-
end
|
43
|
-
end
|
44
16
|
end
|
45
17
|
end
|
46
18
|
|
@@ -49,5 +49,32 @@ describe Rake::Builder::LocalConfig do
|
|
49
49
|
expect(subject.compilation_options).to eq(compilation_options)
|
50
50
|
end
|
51
51
|
end
|
52
|
+
|
53
|
+
context '#save' do
|
54
|
+
let(:file) { stub('File') }
|
55
|
+
|
56
|
+
before do
|
57
|
+
File.stub(:open).with(local_config_file, 'w') do |&block|
|
58
|
+
block.call file
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
it 'write to the file' do
|
63
|
+
File.should_receive(:open).with(local_config_file, 'w') {}
|
64
|
+
|
65
|
+
subject.save
|
66
|
+
end
|
67
|
+
|
68
|
+
it 'saves the data' do
|
69
|
+
expected = {
|
70
|
+
:rake_builder => {:config_file => {:version => '1.1'}},
|
71
|
+
:include_paths => [],
|
72
|
+
:compilation_options => []
|
73
|
+
}.to_yaml
|
74
|
+
file.should_receive(:write).with(expected)
|
75
|
+
|
76
|
+
subject.save
|
77
|
+
end
|
78
|
+
end
|
52
79
|
end
|
53
80
|
|
@@ -44,6 +44,7 @@ describe Rake::Builder::BuilderTaskDefiner do
|
|
44
44
|
let(:executable_target) { self.class.executable_target }
|
45
45
|
let(:objects_path) { self.class.objects_path }
|
46
46
|
let(:custom_prerequisite) { self.class.custom_prerequisite }
|
47
|
+
let(:logger) { stub('Logger') }
|
47
48
|
let(:builder) do
|
48
49
|
stub(
|
49
50
|
'Rake::Builder',
|
@@ -63,6 +64,7 @@ describe Rake::Builder::BuilderTaskDefiner do
|
|
63
64
|
:install_path => 'install/path',
|
64
65
|
:makefile_name => self.class.makefile_name,
|
65
66
|
:default_task => :build,
|
67
|
+
:logger => logger,
|
66
68
|
)
|
67
69
|
end
|
68
70
|
let(:namespaced_builder) { builder.stub(:task_namespace => 'foo'); builder }
|
@@ -178,6 +180,63 @@ describe Rake::Builder::BuilderTaskDefiner do
|
|
178
180
|
Rake::Builder::BuilderTaskDefiner.new(builder).run
|
179
181
|
end
|
180
182
|
|
183
|
+
context 'run' do
|
184
|
+
it 'runs the builder' do
|
185
|
+
clear_prerequisites 'run'
|
186
|
+
|
187
|
+
builder.should_receive(:run)
|
188
|
+
|
189
|
+
Rake::Task['run'].invoke
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
context 'the target' do
|
194
|
+
it 'builds the target' do
|
195
|
+
clear_prerequisites executable_target
|
196
|
+
|
197
|
+
builder.should_receive(:build)
|
198
|
+
|
199
|
+
Rake::Task[executable_target].invoke
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
context 'clean' do
|
204
|
+
it 'cleans the build' do
|
205
|
+
builder.should_receive(:clean)
|
206
|
+
|
207
|
+
Rake::Task['clean'].invoke
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
context 'install' do
|
212
|
+
it 'installs the target' do
|
213
|
+
clear_prerequisites 'install'
|
214
|
+
|
215
|
+
builder.should_receive(:install)
|
216
|
+
|
217
|
+
Rake::Task['install'].invoke
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
context 'uninstall' do
|
222
|
+
it 'uninstalls the target' do
|
223
|
+
builder.should_receive(:uninstall)
|
224
|
+
|
225
|
+
Rake::Task['uninstall'].invoke
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
context 'compile file' do
|
230
|
+
it 'compiles the file' do
|
231
|
+
clear_prerequisites 'src/file1.o'
|
232
|
+
|
233
|
+
builder.should_receive(:compile).
|
234
|
+
with('src/file1.cpp', 'src/file1.o')
|
235
|
+
|
236
|
+
Rake::Task['src/file1.o'].invoke
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
181
240
|
context 'local_config' do
|
182
241
|
it 'creates local config' do
|
183
242
|
builder.should_receive(:create_local_config)
|
@@ -251,6 +310,32 @@ describe Rake::Builder::BuilderTaskDefiner do
|
|
251
310
|
expect(Rake::Task[@object_file].prerequisites).to include('include/header1.h')
|
252
311
|
end
|
253
312
|
end
|
313
|
+
|
314
|
+
context 'makefile' do
|
315
|
+
let(:presenter) { stub('BuilderPresenter') }
|
316
|
+
|
317
|
+
it 'creates a makefile' do
|
318
|
+
clear_prerequisites self.class.makefile_name
|
319
|
+
|
320
|
+
Rake::Builder::Presenters::Makefile::BuilderPresenter.
|
321
|
+
should_receive(:new).
|
322
|
+
with(builder).
|
323
|
+
and_return(presenter)
|
324
|
+
presenter.should_receive(:save)
|
325
|
+
|
326
|
+
Rake::Task[self.class.makefile_name].invoke
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
context 'environment' do
|
331
|
+
it 'sets the logger level if required' do
|
332
|
+
ENV['DEBUG'] = 'true'
|
333
|
+
|
334
|
+
logger.should_receive(:level=).with(0)
|
335
|
+
|
336
|
+
Rake::Task['environment'].invoke
|
337
|
+
end
|
338
|
+
end
|
254
339
|
end
|
255
340
|
end
|
256
341
|
|
@@ -5,10 +5,12 @@ describe Rake::Builder do
|
|
5
5
|
|
6
6
|
let(:target_pathname) { File.join('foo', 'bar', 'my_prog.exe') }
|
7
7
|
let(:source_paths) { ['src/file1.cpp'] }
|
8
|
+
let(:target_parameters) { [] }
|
8
9
|
let(:builder) do
|
9
10
|
Rake::Builder.new do |b|
|
10
11
|
b.target = target_pathname
|
11
12
|
b.library_dependencies = ['foo', 'bar']
|
13
|
+
b.target_parameters = target_parameters
|
12
14
|
end
|
13
15
|
end
|
14
16
|
let(:installer) do
|
@@ -158,6 +160,8 @@ describe Rake::Builder do
|
|
158
160
|
Dir.stub(:chdir).with(builder.rakefile_path)
|
159
161
|
builder.stub(:system)
|
160
162
|
Dir.stub(:chdir).with(@old_dir)
|
163
|
+
# Run a successful command, so Process:Status $? gets set to success
|
164
|
+
`ls`
|
161
165
|
end
|
162
166
|
|
163
167
|
it 'changes directory to the Rakefile path' do
|
@@ -176,6 +180,18 @@ describe Rake::Builder do
|
|
176
180
|
end
|
177
181
|
end
|
178
182
|
|
183
|
+
context 'target_parameters' do
|
184
|
+
let(:target_parameters) { %w(--ciao) }
|
185
|
+
|
186
|
+
it 'are passed as command line options to the target' do
|
187
|
+
builder.should_receive(:system).with("./#{builder.target} --ciao", anything)
|
188
|
+
|
189
|
+
capturing_output do
|
190
|
+
builder.run
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
179
195
|
it 'outputs the stdout results, then the stderr results' do
|
180
196
|
builder.stub(:system) do |command|
|
181
197
|
$stdout.puts 'standard output'
|
@@ -258,12 +274,6 @@ describe Rake::Builder do
|
|
258
274
|
end
|
259
275
|
end
|
260
276
|
|
261
|
-
context '#primary_name' do
|
262
|
-
it 'returns a relative path' do
|
263
|
-
expect(builder.primary_name).to eq(File.join('foo', 'bar', 'my_prog.exe'))
|
264
|
-
end
|
265
|
-
end
|
266
|
-
|
267
277
|
context '#label' do
|
268
278
|
it 'replaces dots with underscores' do
|
269
279
|
expect(builder.label).to eq(File.join('foo', 'bar', 'my_prog_exe'))
|
@@ -437,6 +447,43 @@ describe Rake::Builder do
|
|
437
447
|
end
|
438
448
|
end
|
439
449
|
|
450
|
+
context '#create_local_config' do
|
451
|
+
let(:compiler) do
|
452
|
+
stub(
|
453
|
+
'Compiler',
|
454
|
+
:default_include_paths => [],
|
455
|
+
:missing_headers => [],
|
456
|
+
:include_paths => [],
|
457
|
+
)
|
458
|
+
end
|
459
|
+
let(:local_config) do
|
460
|
+
stub(
|
461
|
+
'Rake::Builder::LocalConfig',
|
462
|
+
:include_paths= => nil,
|
463
|
+
:save => nil
|
464
|
+
)
|
465
|
+
end
|
466
|
+
|
467
|
+
before do
|
468
|
+
Compiler::Base.stub(:for).with(:gcc).and_return(compiler)
|
469
|
+
Rake::Builder::LocalConfig.stub(:new).and_return(local_config)
|
470
|
+
end
|
471
|
+
|
472
|
+
it 'gets extra paths for missing headers' do
|
473
|
+
compiler.should_receive(:missing_headers).
|
474
|
+
with(['./include'], source_paths).
|
475
|
+
and_return([])
|
476
|
+
|
477
|
+
builder.create_local_config
|
478
|
+
end
|
479
|
+
|
480
|
+
it 'saves a LocalConfig' do
|
481
|
+
local_config.should_receive(:save)
|
482
|
+
|
483
|
+
builder.create_local_config
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
440
487
|
context '#install' do
|
441
488
|
before { Rake::Builder::Installer.stub(:new).and_return(installer) }
|
442
489
|
|