Skip to content

Commit f27bb96

Browse files
committed
try-import .bazelrc.* files everywhere
1 parent d63bfde commit f27bb96

16 files changed

+42
-32
lines changed

.github/workflows/workflow.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ jobs:
9797
build --config=$BUILD_CONFIG
9898
common --enable_bzlmod=${{ matrix.bzlmod }}
9999
EOF
100-
cp .bazelrc.local rules_haskell_nix
101-
cp .bazelrc.local rules_haskell_tests
102100
- name: Build & test - rules_haskell
103101
if: matrix.module == 'rules_haskell'
104102
uses: tweag/run-nix-shell@v0
@@ -208,7 +206,6 @@ jobs:
208206
$bzlmod_cache_silo_key
209207
common --enable_bzlmod=${{ matrix.bzlmod }}
210208
EOF
211-
cp .bazelrc.local rules_haskell_tests
212209
- name: Build & test - rules_haskell
213210
if: matrix.module == 'rules_haskell'
214211
shell: bash

examples/.bazelrc

-1
This file was deleted.

examples/.bazelrc

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import %workspace%/../.bazelrc.common
2+
import %workspace%/../.bazelrc.bzlmod
3+
4+
# Remote Cache Authentication
5+
# ---------------------------
6+
try-import %workspace%/../.bazelrc.auth
7+
8+
# User Configuration
9+
# ------------------
10+
try-import %workspace%/../.bazelrc.local

examples/.bazelrc.bzlmod

-2
This file was deleted.

examples/.bazelrc.common

-1
This file was deleted.

examples/.bazelrc.local

-1
This file was deleted.

examples/arm/.bazelrc

-1
This file was deleted.

examples/arm/.bazelrc

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import %workspace%/../../.bazelrc.common
2+
import %workspace%/../../.bazelrc.bzlmod
3+
4+
# Remote Cache Authentication
5+
# ---------------------------
6+
try-import %workspace%/../../.bazelrc.auth
7+
8+
# User Configuration
9+
# ------------------
10+
try-import %workspace%/../../.bazelrc.local

examples/arm/.bazelrc.bzlmod

-2
This file was deleted.

examples/arm/.bazelrc.common

-1
This file was deleted.

rules_haskell_nix/.bazelrc

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import %workspace%/../.bazelrc.common
2-
import %workspace%/.bazelrc.bzlmod
2+
import %workspace%/../.bazelrc.bzlmod
3+
4+
# Remote Cache Authentication
5+
# ---------------------------
6+
try-import %workspace%/../.bazelrc.auth
37

48
# User Configuration
59
# ------------------
6-
try-import %workspace%/.bazelrc.local
10+
try-import %workspace%/../.bazelrc.local

rules_haskell_nix/.bazelrc.bzlmod

-4
This file was deleted.

rules_haskell_tests/.bazelrc

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import %workspace%/../.bazelrc.common
2-
import %workspace%/.bazelrc.bzlmod
2+
import %workspace%/../.bazelrc.bzlmod
3+
4+
# Remote Cache Authentication
5+
# ---------------------------
6+
try-import %workspace%/../.bazelrc.auth
37

48
# User Configuration
59
# ------------------
6-
try-import %workspace%/.bazelrc.local
10+
try-import %workspace%/../.bazelrc.local

rules_haskell_tests/.bazelrc.bzlmod

-7
This file was deleted.

tutorial/.bazelrc

-1
This file was deleted.

tutorial/.bazelrc

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import %workspace%/../.bazelrc.common
2+
import %workspace%/../.bazelrc.bzlmod
3+
4+
# Remote Cache Authentication
5+
# ---------------------------
6+
try-import %workspace%/../.bazelrc.auth
7+
8+
# User Configuration
9+
# ------------------
10+
try-import %workspace%/../.bazelrc.local

tutorial/.bazelrc.bzlmod

-2
This file was deleted.

tutorial/.bazelrc.common

-1
This file was deleted.

tutorial/.bazelrc.local

-1
This file was deleted.

0 commit comments

Comments
 (0)