Last active
September 11, 2020 19:38
-
-
Save tkuriyama/9e7203cb1e45fd31a1d2178a254beecd to your computer and use it in GitHub Desktop.
TCR Stuff
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
# watch.sh using fswatch on macOS | |
while true | |
do | |
fswatch -r --one-event -e modify ./src | |
./tcr.sh | |
done | |
# commit.sh using AppleScript to create a GUI prompt | |
MESSAGE=$(osascript -e 'text returned of (display dialog "eEter commit message" default answer "TCR autocommit")') | |
git commit -am "$MESSAGE" | |
# test.sh with PyTest | |
py.test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment