From aecb8a4c4e5981571d4f0d9042d54856fbe06114 Mon Sep 17 00:00:00 2001 From: Eric Fredricksen Date: Tue, 2 Oct 2018 12:32:46 -0400 Subject: [PATCH] Now I publish via git pull in www/pq-web so I don't need this --- publish.py | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100755 publish.py diff --git a/publish.py b/publish.py deleted file mode 100755 index ef25080..0000000 --- a/publish.py +++ /dev/null @@ -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)