Contact me to be added to this repository. Push the creations you make for D&D, and they will be displayed in a nice website. See the website for how to contribute.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
282 B

#!/bin/bash
echo "Beginning git hook"
pwd
echo ""
#check if new logs are added and update logs.json
git status | sed -e "1,4d" -e "$d" | sed -e "s/^.............//" | grep "Worlds\/[^\/]*\/logs\/.*\.txt" | while read f; do
python app/updateLogJSON.py $f | xargs git add
done