Skip to content

Commit

Permalink
Make runfiles work on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed May 2, 2024
1 parent 168529c commit 296fa07
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Settings that apply only to CI are in .github/workflows/ci.bazelrc

# Make things work on Windows
common --enable_platform_specific_config
startup --windows_enable_symlinks
build:windows --enable_runfiles

# Pin java versions
build:jdk11 --java_runtime_version=remotejdk_11
build:jdk11 --java_language_version=11
Expand Down
5 changes: 2 additions & 3 deletions examples/gazelle/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Make things work on Windows
common --enable_platform_specific_config

# https://bazel.build/docs/windows#symlink
startup --windows_enable_symlinks
run:windows --enable_runfiles
build:windows --enable_runfiles
4 changes: 4 additions & 0 deletions examples/tests_and_lints/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Make things work on Windows
common --enable_platform_specific_config
startup --windows_enable_symlinks
build:windows --enable_runfiles

0 comments on commit 296fa07

Please sign in to comment.