-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathWORKSPACE
More file actions
34 lines (26 loc) · 747 Bytes
/
WORKSPACE
File metadata and controls
34 lines (26 loc) · 747 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
workspace(name = "bazelruby_ruby_rules_example")
# Importing rules_ruby from the parent directory for developing
# rules_ruby itself...
local_repository(
name = "bazelruby_ruby_rules",
path = "../..",
)
load(
"@bazelruby_ruby_rules//ruby:deps.bzl",
"ruby_register_toolchains",
"ruby_rules_dependencies",
)
ruby_rules_dependencies()
ruby_register_toolchains(version = "2.6.5")
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
load("@bazelruby_ruby_rules//ruby:defs.bzl", "bundle_install")
bundle_install(
name = "bundle",
excludes = {
"mini_portile": ["test/**/*"],
},
gemfile = "//:Gemfile",
gemfile_lock = "//:Gemfile.lock",
version = "2.1.2",
)