Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

override match failure on 0.8.0-rc.1 with '*' #454

Open
rbtcollins opened this issue Nov 30, 2021 · 1 comment
Open

override match failure on 0.8.0-rc.1 with '*' #454

rbtcollins opened this issue Nov 30, 2021 · 1 comment

Comments

@rbtcollins
Copy link

We had a workspace Cargo.toml with this:

[workspace.metadata.raze.crates.rocket_okapi.'*']
data_attr = "glob(['**/*.html', '**/*.js', '**/*.css'])"

This didn't customise the rust_library target in the crate BUILD...bazel file.

This did match though:

[workspace.metadata.raze.crates.rocket_okapi.'0.8.0-rc.1']
data_attr = "glob(['**/*.html', '**/*.js', '**/*.css'])"

I don't have time to track it down, but my guess is the pre-release crate version.

@djmarcin
Copy link
Contributor

djmarcin commented Jan 6, 2022

Also ran into this today with [package.metadata.raze.crates.protobuf-codegen.'3.0.0-alpha.2'] . It seems odd that '*' does not match everything -- I'm guessing it matches semver only or something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants