Skip to content

Commit

Permalink
Update README: add dev_dependency info
Browse files Browse the repository at this point in the history
  • Loading branch information
yanndegat committed Feb 13, 2024
1 parent a36985b commit 39e6099
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ bazel_dep(name = "rules_tf", version = "0.0.5")
# commit = "...",
# )

tf = use_extension("@rules_tf//tf:extensions.bzl", "tf_repositories")
tf = use_extension("@rules_tf//tf:extensions.bzl", "tf_repositories", dev_dependency = True)
tf.download( version = "1.5.7", use_tofu = False )

# Switch to tofu
Expand All @@ -29,7 +29,7 @@ tf.download( version = "1.5.7", use_tofu = False )

use_repo(tf, "tf_toolchains")

plugins_mirror = use_extension("@rules_tf//tf:extensions.bzl", "plugins_mirror")
plugins_mirror = use_extension("@rules_tf//tf:extensions.bzl", "plugins_mirror", dev_dependency = True)
plugins_mirror.versions(
name = "default",
versions = {
Expand All @@ -43,6 +43,7 @@ use_repo(plugins_mirror, "tf_plugins_mirrors")
register_toolchains(
"@tf_toolchains//:all",
"@tf_plugins_mirrors//:all",
dev_dependency = True,
)
```

Expand Down

0 comments on commit 39e6099

Please sign in to comment.