MOD modification du css pour faire un truc qui ressemble à qque chose
[pompage.git] / mise_en_prod.rb
diff --git a/mise_en_prod.rb b/mise_en_prod.rb
new file mode 100644 (file)
index 0000000..8830586
--- /dev/null
@@ -0,0 +1,12 @@
+if $*.length < 1\r
+   puts 'Usage: mise_en_prod.rb destination'\r
+   exit 1\r
+end\r
+\r
+dest = $*[0]\r
+\r
+# pour windows\r
+['xml', 'xsl', 'js', 'css'].each{|rep|\r
+   `mkdir #{dest}\\#{rep}`\r
+   `xcopy /Y #{rep} #{dest}\\#{rep}`\r
+}
\ No newline at end of file