Skip to content

Commit

Permalink
Rename BCR module (#5)
Browse files Browse the repository at this point in the history
* shorten module name

* try and fix the e2e tests on debian
  • Loading branch information
caseyduquettesc committed Jul 28, 2023
1 parent 2f7db75 commit 8447346
Show file tree
Hide file tree
Showing 8 changed files with 1,291 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cat << EOF
2. Add to your \`MODULE.bazel\` file:
\`\`\`starlark
bazel_dep(name = "com_github_caseyduquettesc_rules_python_pytest", version = "${TAG:1}", repo_name = "rules_python_pytest")
bazel_dep(name = "caseyduquettesc_rules_python_pytest", version = "${TAG:1}", repo_name = "rules_python_pytest")
\`\`\`
## Using WORKSPACE
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
bazel-*
.bazelrc.user
e2e/smoke/.bazelversion
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"Bazel dependencies"

module(
name = "com_github_caseyduquettesc_rules_python_pytest",
name = "caseyduquettesc_rules_python_pytest",
version = "0.0.0",
compatibility_level = 1,
repo_name = "rules_python_pytest",
Expand Down
4 changes: 2 additions & 2 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions e2e/smoke/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
bazel_dep(name = "com_github_caseyduquettesc_rules_python_pytest", version = "0.0.0", dev_dependency = True, repo_name = "rules_python_pytest")
bazel_dep(name = "caseyduquettesc_rules_python_pytest", version = "0.0.0", dev_dependency = True, repo_name = "rules_python_pytest")
bazel_dep(name = "bazel_skylib", version = "1.3.0", dev_dependency = True)
bazel_dep(name = "rules_python", version = "0.19.0", dev_dependency = True)

local_path_override(
module_name = "com_github_caseyduquettesc_rules_python_pytest",
module_name = "caseyduquettesc_rules_python_pytest",
path = "../..",
)

# Pretty much copied from https://github.com/bazelbuild/rules_python/releases/tag/0.17.3
python = use_extension("@rules_python//python:extensions.bzl", "python")
python.toolchain(
name = "python3_9",
is_default = True,
python_version = "3.9",
)
use_repo(python, "python3_9_toolchains")
Expand Down
Loading

0 comments on commit 8447346

Please sign in to comment.