• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# We cannot use "common" here because the "version" command doesn't support
2# --deleted_packages. We need to specify it for both build and query instead.
3build --deleted_packages=tests/bazel_repository_test_dir,tests/ts/bazel_repository_test_dir
4query --deleted_packages=tests/bazel_repository_test_dir,tests/ts/bazel_repository_test_dir
5# Point tools such as coursier (used in rules_jvm_external) to Bazel's internal JDK
6# suggested in https://github.com/bazelbuild/rules_jvm_external/issues/445
7common --repo_env=JAVA_HOME=../bazel_tools/jdk
8common --action_env=JAVA_HOME=../bazel_tools/jdk
9# Workaround "Error: need --enable_runfiles on Windows for to support rules_js"
10common:windows --enable_runfiles
11# Swift is not required on Windows
12common:windows --deleted_packages=swift
13# Ignore warnings in external dependencies
14build --per_file_copt=external/.*@-Wno-everything --host_per_file_copt=external/.*@-Wno-everything
15# Honor the setting of `skipLibCheck` in the tsconfig.json file.
16common --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
17# Use "tsc" as the transpiler when ts_project has no `transpiler` set.
18common --@aspect_rules_ts//ts:default_to_tsc_transpiler
19