summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormakoto kuwata <kwa@kuwata-lab.com>2011-03-21 20:48:57 +0900
committermakoto kuwata <kwa@kuwata-lab.com>2011-03-21 20:48:57 +0900
commitd15898c5378cde4f4dffc5072e6c5b1bf483ad4c (patch)
tree56708da826b83db125333120d2197f04a354c197
parent772b3fc6b3b97379ae3dd4116c6038f6a53b9251 (diff)
downloaderubis-d15898c5378cde4f4dffc5072e6c5b1bf483ad4c.tar.gz
[change] 'Rookbook.yaml' to copy 'public_html/*' files
-rw-r--r--Rookbook.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rookbook.yaml b/Rookbook.yaml
index 6cb5ff7..33df4a9 100644
--- a/Rookbook.yaml
+++ b/Rookbook.yaml
@@ -133,6 +133,8 @@ recipes:
end
rm_f "#{dir}/test/Rookbook.yaml", "#{dir}/test/test.log"
#
+ store 'public_html/{index.cgi,index.rhtml,_htaccess}', dir
+ #
store 'benchmark/{bench.rb,bench_context.yaml}',
'benchmark/templates/*', 'benchmark/Makefile', dir
#
@@ -172,6 +174,7 @@ recipes:
chmod 0644, "#{dir}/**/*", :filetype=>'file'
chmod 0755, "#{dir}/bin/*", :filetype=>'file'
chmod 0755, "#{dir}/contrib/{erubis,inline-require}", :filetype=>'file'
+ chmod 0755, "#{dir}/public_html/index.cgi"
- product: :duplicate
method*: |