Skip to content

Commit 6979269

Browse files
committed
Update install script
1 parent 7877014 commit 6979269

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Scripts/install.sh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env bash
2+
3+
echo ""
4+
echo "Downloading XAlign..."
5+
6+
# Prepare
7+
mkdir -p /var/tmp/XAlign.tmp && cd /var/tmp/XAlign.tmp
8+
9+
echo ""
10+
# Clone from git
11+
git clone https://github.com/qfish/XAlign.git --depth 1 /var/tmp/XAlign.tmp > /dev/null
12+
13+
echo ""
14+
echo "Installing XAlign..."
15+
16+
# Then build
17+
xcodebuild clean > /dev/null
18+
xcodebuild > /dev/null
19+
20+
# Remove tmp files
21+
cd ~
22+
rm -rf /var/tmp/XAlign.tmp
23+
24+
# Done
25+
echo ""
26+
echo "XAlign successfully installed! 🍻 Please restart your Xcode."
27+
echo ""

0 commit comments

Comments
 (0)