Created
August 13, 2017 20:47
-
-
Save dpritchett/2e5d14941e88b34a6d4180ff6b3535e9 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env sh | |
cd /Users/daniel/Projects/book/dpchat/Book | |
./rake clean screen &> log/build_log.txt | |
if ! grep 'Build failed' log/build_log.txt; then | |
# osascript is osx-only | |
osascript -e 'display notification "✅ Success! ✅" with title "bookbuild"' | |
echo BUILD SUCCEEDED | |
else | |
osascript -e 'display notification "🛑 Build error! 🛑" with title "bookbuild"' | |
open log/build_log.txt | |
fi |
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
"emeraldwalk.runonsave": { | |
"commands": [ | |
{ | |
"match": "\\.pml$", | |
"shell": "/bin/bash", | |
"cmd": "${cwd}/bin/smoke-test" | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment