Skip to content

Commit

Permalink
Add bazelrc for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed May 3, 2024
1 parent 649e64a commit 57e48cc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ build --tool_java_language_version=17
test --verbose_failures
test --test_output=errors

import %workspace%/.bazelrc.windows

# Load any settings specific to the current user.
try-import %workspace%/.bazelrc.user
4 changes: 4 additions & 0 deletions .bazelrc.windows
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
6 changes: 1 addition & 5 deletions examples/gazelle/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
common --enable_platform_specific_config

# https://bazel.build/docs/windows#symlink
startup --windows_enable_symlinks
run:windows --enable_runfiles
import %workspace%/.bazelrc.windows
1 change: 1 addition & 0 deletions examples/tests_and_lints/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import %workspace%/../../.bazelrc.windows

0 comments on commit 57e48cc

Please sign in to comment.