Fixes for IE

This commit is contained in:
Eric Fredricksen
2010-07-21 12:13:47 -07:00
parent 7de90e7533
commit c6e79a30f6
4 changed files with 23 additions and 19 deletions
+13 -7
View File
@@ -1,7 +1,7 @@
#!/usr/bin/python
"""Publish this game here to server"""
import subprocess
import subprocess, sys
manifest = [
"*.html",
@@ -14,14 +14,17 @@ manifest = [
"back.jpg",
"dicebar.jpg",
"close*.png",
"touch-icon.png",
"ipad-ad.jpg",
"*.css"]
includes = sum(map(list, zip(["--include"] * len(manifest), manifest)), [])
destination = "progressquest.com:www/progressquest.com/play/"
print manifest
output = subprocess.call(
["rsync",
#"--dry-run",
args = (
["rsync"] +
sys.argv[1:] +
[#"--dry-run",
"--verbose",
"--compress",
"--checksum",
@@ -31,8 +34,11 @@ output = subprocess.call(
#"--itemize-changes",
"--delete",
"--delete-excluded",
"--times",
] + includes + [
"--exclude", "*",
"--times"] +
includes +
["--exclude", "*",
"./",
destination])
print args
output = subprocess.call(args)