Skip to content

Commit 006f842

Browse files
author
Konstantin Gredeskoul
committed
Fixing missing dependencies for :rubocop target
1 parent acd4594 commit 006f842

File tree

5 files changed

+14
-183
lines changed

5 files changed

+14
-183
lines changed

.circleci/config-cache-pre-gen.yml

Lines changed: 0 additions & 176 deletions
This file was deleted.

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,17 @@ jobs:
7070
- run:
7171
name: "Bazel Simple Script Example Build"
7272
command: |
73-
(cd examples/simple_script && bazel ${BAZEL_OPTS} build ${BAZEL_BUILD_OPTS} -- //...)
73+
cd examples/simple_script && bazel ${BAZEL_OPTS} build ${BAZEL_BUILD_OPTS} -- //...
7474
7575
- run:
7676
name: "Bazel Simple Script Example Test"
7777
command: |
78-
(cd examples/simple_script && bazel ${BAZEL_OPTS} test ${BAZEL_BUILD_OPTS} ${BAZEL_TEST_OPTS} -- //...)
78+
cd examples/simple_script && bazel ${BAZEL_OPTS} test ${BAZEL_BUILD_OPTS} ${BAZEL_TEST_OPTS} -- //...
7979
8080
- run:
8181
name: "Bazel Simple Script Example Rubocop Check"
8282
command: |
83-
(cd examples/simple_script && bazel ${BAZEL_OPTS} run ${BAZEL_BUILD_OPTS} -- :rubocop)
83+
cd examples/simple_script && bazel ${BAZEL_OPTS} run ${BAZEL_BUILD_OPTS} -- :rubocop
8484
8585
buildifier:
8686
<<: *bazel_defaults

examples/simple_script/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ ruby_binary(
4747
],
4848
main = "@bundle//:bin/rubocop",
4949
deps = [
50+
"@bundle//:relaxed-rubocop",
5051
"@bundle//:rubocop",
5152
],
5253
)

examples/simple_script/Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
source 'https://rubygems.org'
44

5+
gem 'colored2'
56
gem 'awesome_print'
67
gem 'rspec', '~> 3.7.0'
7-
gem 'rubocop'
8+
gem 'rubocop', '~> 0.78.0'
9+
gem 'relaxed-rubocop', '~> 2.4'

examples/simple_script/Gemfile.lock

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ GEM
33
specs:
44
ast (2.4.0)
55
awesome_print (1.8.0)
6+
colored2 (3.1.2)
67
diff-lcs (1.3)
78
jaro_winkler (1.5.4)
89
parallel (1.19.1)
910
parser (2.6.5.0)
1011
ast (~> 2.4.0)
1112
rainbow (3.0.0)
13+
relaxed-rubocop (2.4)
1214
rspec (3.7.0)
1315
rspec-core (~> 3.7.0)
1416
rspec-expectations (~> 3.7.0)
@@ -22,7 +24,7 @@ GEM
2224
diff-lcs (>= 1.2.0, < 2.0)
2325
rspec-support (~> 3.7.0)
2426
rspec-support (3.7.1)
25-
rubocop (0.77.0)
27+
rubocop (0.78.0)
2628
jaro_winkler (~> 1.5.1)
2729
parallel (~> 1.10)
2830
parser (>= 2.6)
@@ -37,8 +39,10 @@ PLATFORMS
3739

3840
DEPENDENCIES
3941
awesome_print
42+
colored2
43+
relaxed-rubocop (~> 2.4)
4044
rspec (~> 3.7.0)
41-
rubocop
45+
rubocop (~> 0.78.0)
4246

4347
BUNDLED WITH
44-
1.17.3
48+
2.1.0

0 commit comments

Comments
 (0)