projects
/
pompage.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
MOD modification du css pour faire un truc qui ressemble à qque chose
[pompage.git]
/
mise_en_prod.rb
1
if
$
*.
length
<
1
2
puts
'Usage: mise_en_prod.rb destination'
3
exit
1
4
end
5
6
dest
=
$
*[
0
]
7
8
# pour windows
9
[
'xml'
,
'xsl'
,
'js'
,
'css'
].
each
{|
rep
|
10
`mkdir
#{dest}
\\
#{rep}
`
11
`xcopy /Y
#{rep}
#{dest}
\\
#{rep}
`
12
}