all: FORCE pull: @rsync -e "ssh ${LIGA_SSH_OPTS}" -q --delete --exclude=_log --exclude=.htaccess --exclude=.git --exclude=.gitignore -urPz ${LIGA_REMOTE_WWW_DIR}/ http @chown www-data:www-data http -R autocommit: pull @cd http && git diff --quiet || (date && git add . && git commit -m 'Autocommit' && GIT_SSH_COMMAND="ssh ${LIGA_SSH_OPTS}" git push -q) players: FORCE ./dumps/import-players.sh teams: players FORCE ./dumps/check-all-teams.sh paid: players FORCE ./dumps/check-all-paid.sh lineups: FORCE ./dumps/check-all-lineups.sh checks: paid teams lineups dumps: FORCE s3cmd -c dumps/.s3config sync ${LIGA_S3_BUCKET} dumps/sync/ ./dumps/load-dumps.sh butler: FORCE python butler/butler.py 1+2 | mysql ${LIGA_MYSQL_CONNECTION_OPTS} python butler/butler.py 1 | mysql ${LIGA_MYSQL_CONNECTION_OPTS} python butler/butler.py 2 | mysql ${LIGA_MYSQL_CONNECTION_OPTS} ausbutler: FORCE ./ausbutler/ausbutler-all.sh records: FORCE direnv exec ./boards/run.sh brackets: FORCE ./playoff/scripts/generate.sh ./playoff/scripts/sync.sh chown www-data:www-data ./playoff -R FORCE: