Skip to content

Instantly share code, notes, and snippets.

@wzieba
Created December 13, 2022 16:09
Show Gist options
  • Save wzieba/f6cbd7af2ff230a772443869b45bef89 to your computer and use it in GitHub Desktop.
Save wzieba/f6cbd7af2ff230a772443869b45bef89 to your computer and use it in GitHub Desktop.
if ./gradlew "$@" ; then
osascript -e "display notification \"Success\" with title \"Gradle\" sound name \"hero\""
else
osascript -e "display notification \"Failure\" with title \"Gradle\" sound name \"bottle\""
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment