-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·34 lines (30 loc) · 840 Bytes
/
setup.sh
File metadata and controls
executable file
·34 lines (30 loc) · 840 Bytes
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
#!/bin/bash
# Sets up development dependencies
echo -n "Checking for cicleci... "
if ! [ -x "$(command -v circleci)" ]; then
echo "not found, installing"
brew install circleci
echo "You'll need to create a personal circle api key to use the cli. Opening that page now..."
sleep 2
open https://circleci.com/account/api
echo "Once your done creating a token, finish the circle setup..."
sleep 3
circleci setup
else
echo "found, skipping."
fi
echo -n "Checking for lefthook... "
if ! [ -x "$(command -v lefthook)" ]; then
echo "not found, installing"
brew install Arkweid/lefthook/lefthook
lefthook install
else
echo "found, skipping."
fi
echo -n "Checking for spellcheck... "
if ! [ -x "$(command -v shellcheck)" ]; then
echo "not found, installing"
brew install shellcheck
else
echo "found, skipping."
fi