mirror of
https://bitbucket.org/grumdrig/pq-web.git
synced 2026-09-29 08:44:00 -06:00
Now I publish via git pull in www/pq-web so I don't need this
This commit is contained in:
-44
@@ -1,44 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
"""Publish this game here to server"""
|
||||
|
||||
import subprocess, sys
|
||||
|
||||
manifest = [
|
||||
"*.html",
|
||||
"json2.js",
|
||||
"config.js",
|
||||
"jquery.js",
|
||||
"main.js",
|
||||
"newguy.js",
|
||||
"roster.js",
|
||||
"*.gif",
|
||||
"back.jpg",
|
||||
"dicebar.jpg",
|
||||
"close*.png",
|
||||
"touch-icon.png",
|
||||
"*.css"]
|
||||
includes = sum(map(list, zip(["--include"] * len(manifest), manifest)), [])
|
||||
destination = "progressquest.com:www/progressquest.com/play/"
|
||||
|
||||
print manifest
|
||||
args = (
|
||||
["rsync"] +
|
||||
sys.argv[1:] +
|
||||
[#"--dry-run",
|
||||
"--verbose",
|
||||
"--compress",
|
||||
"--checksum",
|
||||
"--recursive",
|
||||
"--partial",
|
||||
"--progress",
|
||||
#"--itemize-changes",
|
||||
"--delete",
|
||||
"--delete-excluded",
|
||||
"--times"] +
|
||||
includes +
|
||||
["--exclude", "*",
|
||||
"./",
|
||||
destination])
|
||||
|
||||
print args
|
||||
output = subprocess.call(args)
|
||||
Reference in New Issue
Block a user