Skip to content

Instantly share code, notes, and snippets.

@tkuriyama

tkuriyama/tcrstuff.sh

Last active Sep 11, 2020
Embed
What would you like to do?
TCR Stuff
# 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