Created
February 9, 2019 20:31
-
-
Save Sevastyan/770e5501828577cd7c1e7951f851e24b to your computer and use it in GitHub Desktop.
Modified `format.sh` script
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
#!/bin/sh | |
# ------------------------------------------------------ | |
# Android Studio formatting script. | |
# ------------------------------------------------------ | |
IDE_BIN_HOME="${0%/*}" | |
export STUDIO_PROPERTIES=$IDE_BIN_HOME/format.properties | |
filesToFormat=$(cat -) | |
options="$@" | |
exec "$IDE_BIN_HOME/studio.sh" format $options $filesToFormat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment