Files
wpa-superstar-plugin/post-commit.bak
2025-03-17 12:34:19 +00:00

5 lines
331 B
Bash
Executable File

#!/bin/zsh
echo "Hook running at $(date)" >> ~/sync-log.txt
rsync -av --delete --exclude='.git' --exclude-from=/Users/marcusquinn/Git/wpa-superstar-plugin/.gitignore ~/Git/wpa-superstar-plugin/ ~/Local/plugin-testing/app/public/wp-content/plugins/wpa-superstar-plugin/ >> ~/sync-log.txt 2>&1
echo "Sync complete" >> ~/sync-log.txt