From 23c96d3dcd301159dca6e60e561ab4b27e19bd58 Mon Sep 17 00:00:00 2001 From: makoto kuwata Date: Sat, 29 Apr 2006 13:43:58 +0000 Subject: - [change] Eruby adopt ArrayBufferEnhancer as default - [enhance] new module BiPatternEnhancer [experimental] - [enhance] new module SimplifiedEnhancer - [enhance] new module StringBufferEnhancer - [enhance] new module PrintStatementEnhancer - [enhance] new module PercentLineEnhancer - [enhance] new module HeaderFooterEnhancer [experimental] - [enhance] new class OutputSimplifiedEruby - [enhance] Engine.supported_properties() added - [enhance] print show_properties() when '-h' is specified - [enhance] add Eperl class (engine/perl.rb) - [enhance] add examples - [change] class Eruby includes ArrayBufferEnhancer - [change] EscapeEnhancer now overrides add_expr() - [change] module PrintEnhancer is renamed to PrintAvailableEnhancer - [change] Ejava doesn't out 'StringBuffer _buf' nor 'return _buf.toString();' - [change] subclasses of Eruby are moved to new file 'enhanced.rb' --- Rookbook.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'Rookbook.yaml') diff --git a/Rookbook.yaml b/Rookbook.yaml index 4567480..011ecf1 100644 --- a/Rookbook.yaml +++ b/Rookbook.yaml @@ -101,8 +101,8 @@ recipes: mkdir_p dir # store 'lib/**/*', 'bin/*', 'test/**/*', $text_files, dir - #chdir 'examples' do cmd 'rook :clean' end - #store 'examples/**/*', dir + chdir 'examples' do sys 'make clean' end + store 'examples/**/*', dir store '$(apidocdir)/**/*', dir mkdir_p "#{dir}/doc" cp_r $doc_files, "#{dir}/doc" @@ -116,3 +116,17 @@ recipes: # chmod 0644, "#{dir}/**/*", :filetype=>'file' chmod 0755, "#{dir}/{bin,contrib}/*", :filetype=>'file' + + - product: :duplicate + method: | + files = [] + files += Dir.glob('lib/**/*.rb') + files += Dir.glob('benchmark/erubybench.{rb,rhtml,yaml}') + archive = "#{@product}.tar.gz" + tar_czf archive, files + dir = '/Volumes/WORKGROUP;DENEB/src/erubis/trunk' + cp archive, dir + chdir dir do + tar_xzf archive + end + -- cgit v1.2.1