Saydle is a Wrapper for the Gradle Wrapper that notifies you via the OSX say
command whether a task failed or succeeded.
Knowing when a Gradle build is done is super helpful when there are long running tasks. This allows you to be notified instead of checking the terminal.
- You must be Running Mac OSX
Run the following command from the terminal in the root of your Android Project (where the gradlew
file is)
curl -O "https://raw.githubusercontent.com/handstandsam/saydle/main/saydlew" && chmod +x saydlew
This will download the saydlew
file and put it next to your gradlew
file in the root of your Gradle project. It then ensures there is permission to execute the file.
- Instead of using
./gradlew
, use./saydlew
instead. That's it! - Example:
./saydlew app:assembleDebug
You can edit these options in the saydlew
file itself.
- success_phrase="Success"
- failed_phrase="Failed"
- voice="Alex"
Available English Speaking Voices
Alex en_US # Most people recognize me by my voice.
Fred en_US # I sure like being inside this fancy computer
Samantha en_US # Hello, my name is Samantha. I am an American-English voice.
Victoria en_US # Isn't it nice to have a computer that will talk to you?
Other Languages
Find other voices by running: say -v '?'
Saydle π forwards your command to Gradle, and then looks at the execution result to say either "Success" or "Failed".