BraydenMoore commited on
Commit
b0bd3d0
1 Parent(s): d199e9d

Update bash script

Browse files
Files changed (1) hide show
  1. update_data.sh +17 -0
update_data.sh ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ export PATH=/opt/homebrew/bin/:$PATH
3
+ echo "Updating MARCI!"
4
+ cd "/Users/braydenmoore/Library/Mobile Documents/com~apple~CloudDocs/Code/marci"
5
+ python3 "Source/Build/update.py"
6
+ python3 "get_record.py"
7
+ echo "Committing to repo!"
8
+ git add "Source/Data/gbg_and_odds_this_year.csv"
9
+ git add "Source/Data/gbg_this_year.csv"
10
+ git add "Source/Data/results.csv"
11
+ git add "Source/Data/record.json"
12
+ git add "Source/Data/lines.json"
13
+ git add "Source/Pickles"
14
+ git add "Static"
15
+ git add "Templates"
16
+ git commit -m "Update with up to date data"
17
+ git push all main