summaryrefslogtreecommitdiff
path: root/Rookbook.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Rookbook.yaml')
-rw-r--r--Rookbook.yaml18
1 files changed, 16 insertions, 2 deletions
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
+