We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4ea22b commit 16a6457Copy full SHA for 16a6457
1 file changed
bin/setup
@@ -2,26 +2,16 @@
2
3
[[ -x bin/deps ]] && source bin/deps
4
5
-[[ -z ${BashMatic} ]] && {
+[[ -z ${BashMatic} ]] && {
6
echo "Failed to initialize BASH library."
7
exit 1
8
}
9
10
# abort on error
11
run::set-all abort-on-error
12
13
-# install rubocop
14
-lib::gem::install relaxed-rubocop
+lib::gem::cache-refresh
15
lib::gem::install rubocop
16
-
17
-[[ -f .rubocop.yml ]] || {
18
- info "Setting up .rubocop.yml file..."
19
- echo "
20
-inherit_gem:
21
- relaxed-rubocop: .rubocop.yml
22
-" > .rubocop.yml
23
- run "git add .rubocop.yml"
24
-}
+lib::gem::install relaxed-rubocop
25
26
[[ -L .git/hooks/pre-commit ]] || run "ln -nfs bin/pre-commit .git/hooks/pre-commit"
27
0 commit comments