diff --git a/git-pull.sh b/git-pull.sh new file mode 100755 index 0000000..99171a8 --- /dev/null +++ b/git-pull.sh @@ -0,0 +1,3 @@ +#!/bin/bash +cd `dirname $0`; pwd +git pull git@github.com:wszqkzqk/pypvz.git diff --git a/main.py b/main.py old mode 100644 new mode 100755 index 9421809..7adf14d --- a/main.py +++ b/main.py @@ -1,6 +1,7 @@ +#!/usr/bin/python import pygame as pg from source.main import main if __name__=='__main__': main() - pg.quit() \ No newline at end of file + pg.quit() diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..c32df87 --- /dev/null +++ b/update.sh @@ -0,0 +1,7 @@ +#!/bin/bash +cd `dirname $0`; pwd +git add * +git add .gitignore +git commit -m 'Updated by update.sh' +git push -u git@github.com:wszqkzqk/pypvz.git +