projects
/
pompage.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX adaptation au site Allocine.
[pompage.git]
/
mise_en_prod.rb
diff --git
a/mise_en_prod.rb
b/mise_en_prod.rb
index
a6b804c
..
cda6118
100644
(file)
--- a/
mise_en_prod.rb
+++ b/
mise_en_prod.rb
@@
-7,8
+7,6
@@
dest = "Z:\\var\\www\\divx"
\r
dest = $*[0] if $*.length > 1
\r
\r
\r
dest = $*[0] if $*.length > 1
\r
\r
-# pour windows
\r
['xml', 'xsl', 'js', 'css', 'img', 'xpi'].each{|rep|
\r
['xml', 'xsl', 'js', 'css', 'img', 'xpi'].each{|rep|
\r
- `mkdir #{dest}\\#{rep}`
\r
- `xcopy /Y /F #{rep} #{dest}\\#{rep}`
\r
+ `cp -Ru #{rep} #{dest}`
\r
}
\r
}
\r