Skip to content

Commit

Permalink
Rename rules_gz to rules_gazebo
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
  • Loading branch information
mjcarroll committed Sep 30, 2024
1 parent 09b9708 commit 9f80703
Show file tree
Hide file tree
Showing 16 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ jobs:
permissions:
contents: write
with:
release_files: rules_gz-*.tar.gz
release_files: rules_gazebo-*.tar.gz
prerelease: false
2 changes: 1 addition & 1 deletion .github/workflows/release_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

set -o errexit -o nounset -o pipefail

RULES_NAME="rules_gz"
RULES_NAME="rules_gazebo"
TAG="${GITHUB_REF_NAME}"
PREFIX="${RULES_NAME}-${TAG:1}"
ARCHIVE="${RULES_NAME}-${TAG:1}.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package(

license(
name = "license",
package_name = "rules_gz",
package_name = "rules_gazebo",
)

exports_files([
Expand Down
4 changes: 2 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"rules_gz"
"rules_gazebo"

module(
name = "rules_gz",
name = "rules_gazebo",
version = "0.0.1",
compatibility_level = 1,
)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# rules_gz
# rules_gazebo

Bazel rules to support building [Gazebo](https://gazebosim.org) libraries

Expand All @@ -7,5 +7,5 @@ Bazel rules to support building [Gazebo](https://gazebosim.org) libraries
Install with bzlmod, add to MODULE.bazel

```starlark
bazel_dep(name = "rules_gz", version = "<version>")
bazel_dep(name = "rules_gazebo", version = "0.0.1")
```
File renamed without changes.
4 changes: 2 additions & 2 deletions gz/headers.bzl → gazebo/headers.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"""Core rules for building Gazebo libraries"""

load(
"//gz/private:gz_configure_file.bzl",
"//gazebo/private:gz_configure_file.bzl",
_gz_configure_header = "gz_configure_file",
)
load(
"//gz/private:gz_export_header.bzl",
"//gazebo/private:gz_export_header.bzl",
_gz_export_header = "gz_export_header",
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def gz_export_header(name, lib_name, export_base, out):
"@export_base@": export_base,
"@lib_name@": lib_name,
},
template = "@rules_gz//gz/templates:gz_export_header.tpl.hh",
template = "@rules_gazebo//gazebo/templates:gz_export_header.tpl.hh",
)
cc_library(
name = name,
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/smoke/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@rules_gz//gz:headers.bzl", "gz_configure_header", "gz_export_header")
load("@rules_gazebo//gazebo:headers.bzl", "gz_configure_header", "gz_export_header")
load("@bazel_skylib//rules:diff_test.bzl", "diff_test")

gz_export_header(
Expand Down
4 changes: 2 additions & 2 deletions test/smoke/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"Bazel dependencies"

bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "rules_gz", version = "0.0.0")
bazel_dep(name = "rules_gazebo", version = "0.0.0")
local_path_override(
module_name = "rules_gz",
module_name = "rules_gazebo",
path = "../..",
)
3 changes: 1 addition & 2 deletions test/smoke/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
<package format="2">
<name>gz-smoke</name>
<version>0.0.1</version>
<description>Smoke test for rules_gz</description>
<description>Smoke test for rules_gazebo</description>
</package>

0 comments on commit 9f80703

Please sign in to comment.