-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try-import
.bazelrc.*
files everywhere
- Loading branch information
Showing
18 changed files
with
81 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import %workspace%/../.bazelrc.common | ||
import %workspace%/../.bazelrc.bzlmod | ||
|
||
# Remote Cache Authentication | ||
# --------------------------- | ||
try-import %workspace%/../.bazelrc.auth | ||
|
||
# User Configuration | ||
# ------------------ | ||
try-import %workspace%/../.bazelrc.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# Disable bzlmod explicitly by default, see https://github.com/tweag/rules_haskell/issues/1977 | ||
common --noenable_bzlmod | ||
|
||
common:bzlmod --enable_bzlmod | ||
common:common --registry=file://%workspace%/../registry --registry=https://bcr.bazel.build | ||
# Note, have to use /// to make Bazel not crash on Windows | ||
common:common --registry=file:///%workspace%/../registry --registry=https://bcr.bazel.build | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import %workspace%/../../.bazelrc.common | ||
import %workspace%/../../.bazelrc.bzlmod | ||
|
||
# Remote Cache Authentication | ||
# --------------------------- | ||
try-import %workspace%/../../.bazelrc.auth | ||
|
||
# User Configuration | ||
# ------------------ | ||
try-import %workspace%/../../.bazelrc.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
common:bzlmod --experimental_enable_bzlmod | ||
common:bzlmod --registry=file://%workspace%/../../registry --registry=https://bcr.bazel.build | ||
# Disable bzlmod explicitly by default, see https://github.com/tweag/rules_haskell/issues/1977 | ||
common --noenable_bzlmod | ||
|
||
common:bzlmod --enable_bzlmod | ||
# Note, have to use /// to make Bazel not crash on Windows | ||
common:common --registry=file:///%workspace%/../../registry --registry=https://bcr.bazel.build | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
import %workspace%/../.bazelrc.common | ||
import %workspace%/.bazelrc.bzlmod | ||
import %workspace%/../.bazelrc.bzlmod | ||
|
||
# Remote Cache Authentication | ||
# --------------------------- | ||
try-import %workspace%/../.bazelrc.auth | ||
|
||
# User Configuration | ||
# ------------------ | ||
try-import %workspace%/.bazelrc.local | ||
try-import %workspace%/../.bazelrc.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
common:bzlmod --enable_bzlmod | ||
# Disable bzlmod explicitly by default, see https://github.com/tweag/rules_haskell/issues/1977 | ||
common --noenable_bzlmod | ||
|
||
common:bzlmod --enable_bzlmod | ||
# Note, have to use /// to make Bazel not crash on Windows | ||
common:common --registry=file:///%workspace%/../registry --registry=https://bcr.bazel.build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
import %workspace%/../.bazelrc.common | ||
import %workspace%/.bazelrc.bzlmod | ||
import %workspace%/../.bazelrc.bzlmod | ||
|
||
# Remote Cache Authentication | ||
# --------------------------- | ||
try-import %workspace%/../.bazelrc.auth | ||
|
||
# User Configuration | ||
# ------------------ | ||
try-import %workspace%/.bazelrc.local | ||
try-import %workspace%/../.bazelrc.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
rules_haskell_tests/tests/bzlmod_runfiles/other_module/.bazelrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
import %workspace%/../../../../.bazelrc.common | ||
import %workspace%/.bazelrc.bzlmod | ||
|
||
# Remote Cache Authentication | ||
# --------------------------- | ||
try-import %workspace%/../../../../.bazelrc.auth | ||
|
||
# User Configuration | ||
# ------------------ | ||
try-import %workspace%/../../../../.bazelrc.local |
9 changes: 7 additions & 2 deletions
9
rules_haskell_tests/tests/bzlmod_runfiles/other_module/.bazelrc.bzlmod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
common:bzlmod --experimental_enable_bzlmod | ||
common:bzlmod --registry=file:%workspace%/../../../../registry --registry=https://bcr.bazel.build | ||
# Disable bzlmod explicitly by default, see https://github.com/tweag/rules_haskell/issues/1977 | ||
common --noenable_bzlmod | ||
|
||
common:bzlmod --enable_bzlmod | ||
# Note, have to use /// to make Bazel not crash on Windows | ||
common:common --registry=file:///%workspace%/../../../../registry --registry=https://bcr.bazel.build | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import %workspace%/../.bazelrc.common | ||
import %workspace%/../.bazelrc.bzlmod | ||
|
||
# Remote Cache Authentication | ||
# --------------------------- | ||
try-import %workspace%/../.bazelrc.auth | ||
|
||
# User Configuration | ||
# ------------------ | ||
try-import %workspace%/../.bazelrc.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# Disable bzlmod explicitly by default, see https://github.com/tweag/rules_haskell/issues/1977 | ||
common --noenable_bzlmod | ||
|
||
common:bzlmod --enable_bzlmod | ||
common:common --registry=file://%workspace%/../registry --registry=https://bcr.bazel.build | ||
# Note, have to use /// to make Bazel not crash on Windows | ||
common:common --registry=file:///%workspace%/../registry --registry=https://bcr.bazel.build | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.