Skip to content

Commit

Permalink
build: fix mistake in passing flags to gazelle.
Browse files Browse the repository at this point in the history
I had the disctionary backwards :-)
  • Loading branch information
jiceatscion committed Sep 25, 2023
1 parent 49f791b commit 3fe3285
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,16 @@ config_setting(
gazelle(
name = "gazelle",
build_tags = select({
":sqlite_modernc": ["sqlite_modernc", "sqlite_modernc_netgo"],
":sqlite_mattn": ["sqlite_mattn", "sqlite_mattn_netgo"],
":sqlite_modernc_netgo": [
"sqlite_modernc",
"sqlite_modernc_netgo",
],
":sqlite_modernc": ["sqlite_modernc"],
":sqlite_mattn_netgo": [
"sqlite_mattn",
"netgo",
],
":sqlite_mattn": ["sqlite_mattn"],
}),
command = "update",
extra_args = [
Expand All @@ -90,8 +98,14 @@ gazelle(
gazelle(
name = "gazelle_diff",
build_tags = select({
":sqlite_modernc": ["sqlite_modernc", "sqlite_modernc_netgo"],
":sqlite_mattn": ["sqlite_mattn", "sqlite_mattn_netgo"],
":sqlite_modernc": [
"sqlite_modernc",
"sqlite_modernc_netgo",
],
":sqlite_mattn": [
"sqlite_mattn",
"sqlite_mattn_netgo",
],
}),
command = "update",
extra_args = [
Expand Down

0 comments on commit 3fe3285

Please sign in to comment.