Skip to content

bazel: Split existing rules into reusable sub-rules#540

Merged
phiwuu merged 10 commits intomainfrom
js_enable_reusable_subrules
Feb 24, 2026
Merged

bazel: Split existing rules into reusable sub-rules#540
phiwuu merged 10 commits intomainfrom
js_enable_reusable_subrules

Conversation

@castler
Copy link
Contributor

@castler castler commented Feb 20, 2026

No description provided.

@castler castler requested a review from a team as a code owner February 20, 2026 13:04
@castler castler force-pushed the js_enable_reusable_subrules branch 15 times, most recently from 36d925c to 1e07d55 Compare February 22, 2026 12:20
@phiwuu phiwuu added the bazel label Feb 24, 2026
In order to to better structure the lobster.bzl, we split it into
multiple parts. First thing is the provider in a custom bzl file.

To not break the API, we re-export the symbol.
In order to to better structure the lobster.bzl, we split it into
multiple parts.

To not break the API, we re-export the symbol.
In order to to better structure the lobster.bzl, we split it into
multiple parts.

To not break the API, we re-export the symbol.
In order to to better structure the lobster.bzl, we split it into
multiple parts.

To not break the API, we re-export the symbol.
In order to to better structure the lobster.bzl, we split it into
multiple parts.

To not break the API, we re-export the symbol.
In some cases it migth be more helpfull,
to use lobster_* as subrule, which is why
we expose already one for our customers.
In some cases it migth be more helpfull,
to use lobster_* as subrule, which is why
we expose already one for our customers.
In some cases it migth be more helpfull,
to use lobster_* as subrule, which is why
we expose already one for our customers.
In a previous change we introduced a top-level
directory called `bazel`. Which lead to the
CI failing with the statement "permission denied".

After quite some debugging, we were able to identify
that the problem is, that this make-statement, would
now try to execute the directory `bazel` - where it has
no permisson - and not the binary within PATH.

With this change, it is ensured, that `bazel` is interpreted
as command.
@phiwuu phiwuu force-pushed the js_enable_reusable_subrules branch from 1e07d55 to f8f3536 Compare February 24, 2026 14:40
@phiwuu phiwuu enabled auto-merge (squash) February 24, 2026 14:40
@phiwuu phiwuu merged commit 81dc6d1 into main Feb 24, 2026
23 checks passed
@phiwuu phiwuu deleted the js_enable_reusable_subrules branch February 24, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants