-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add dependencies for mac and an updater :)
- Loading branch information
Showing
6 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
cd "$(dirname "$0")" | ||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | ||
brew install git | ||
sudo xcode-select --install | ||
brew install python | ||
sudo pip install gitpython |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,25 @@ | ||
First run the python msi installer if on windows | ||
if on mac run the .pkg file | ||
First for windows users do these instructions: | ||
install [git](http://git-scm.com/download/win) and make the git commands available to the windows command prompt.. | ||
|
||
when you see this: | ||
|
||
![git setup image](http://i.gyazo.com/50f6fa4ac05ea7a75c2f5275837e89d1.png) | ||
|
||
pick the 3rd option (available to command prompt plus linux utils) | ||
|
||
when you see: | ||
|
||
![git setup image](http://i.gyazo.com/0eeb0f1dded7534ea1c0865bfa1f82e0.png) | ||
|
||
pick the 1st option.. (checkout windows-style, commit unix-style) | ||
After you do these steps open cmd and then cd to your desktop or anywhere you want to put the tic tac toe game in | ||
example : | ||
cd c:\Users\(username)\Desktop | ||
then do these commands : | ||
git clone https://github.com/mgracer48/tic-tac-toe | ||
git checkout stable | ||
Then run install_depdencies.command(on mac) | ||
Then run the python msi installer if on windows | ||
then if your on windows run the start-game.bat | ||
if on mac run start-game.command | ||
and thats it :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
@echo off | ||
git pull | ||
python tic_tac_toe.py | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
cd "$(dirname "$0")" | ||
python updater.py | ||
python tic_tac_toe.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import git | ||
|
||
g = git.cmd.Git(git_dir) | ||
g.pull() |