Skip to content

Commit aab441e

Browse files
committed
Merge pull request #1 from square/jw/android-studio
Support AndroidStudio.
2 parents 033bb35 + 78ce5b7 commit aab441e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

install.sh

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
#!/bin/bash
2-
# installs square's intellij configs into your user configs
2+
# Installs Square's IntelliJ configs into your user configs.
33

4-
echo "Installing IntelliJ configs..."
4+
echo "Installing Square code style configs..."
55

6-
for i in $HOME/Library/Preferences/IntelliJIdea*/codestyles $HOME/Library/Preferences/IdeaIC*/codestyles
6+
for i in $HOME/Library/Preferences/IntelliJIdea*/codestyles \
7+
$HOME/Library/Preferences/IdeaIC*/codestyles \
8+
$HOME/Library/Preferences/AndroidStudio*/codestyles
79
do
8-
cp -frv $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/configs/* $i
10+
cp -frv $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/configs/* $i 2> /dev/null
911
done
1012

1113
echo "Done."
1214
echo ""
13-
echo "Restart IntelliJ and go to preferences to apply them."
15+
echo "Restart IntelliJ and/or AndroidStudio, go to preferences, and apply 'Square' or 'SquareAndroid'."

0 commit comments

Comments
 (0)