forked from radarlabs/radar-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.sh
executable file
·59 lines (50 loc) · 1.1 KB
/
bootstrap.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
if ! command -v xcodebuild >/dev/null; then
echo "xcodebuild not installed"
exit 1
else
echo "xcodebuild already installed"
fi
if ! command -v gem >/dev/null; then
echo "rubygems not installed"
exit 1
else
echo "rubygems already installed"
fi
if ! command -v brew >/dev/null; then
echo "homebrew not installed"
exit 1
else
echo "homebrew already installed"
fi
if ! command -v pod >/dev/null; then
echo "installing cocoapods..."
gem install cocoapods
else
echo "cocoapods already installed"
fi
if ! command -v xcpretty >/dev/null; then
echo "installing xcpretty..."
gem install xcpretty
else
echo "xcpretty already installed"
fi
if ! command -v xctool >/dev/null; then
echo "installing xctool..."
brew install xctool
else
echo "xctool already installed"
fi
if ! command -v jazzy >/dev/null; then
echo "installing jazzy..."
gem install jazzy
else
echo "jazzy already installed"
fi
if ! command -v clang-format >/dev/null; then
echo "installing clang-format..."
brew install clang-format
else
echo "clang-format already installed"
fi
echo "dependencies installed"