19 lines
1.1 KiB
Plaintext
19 lines
1.1 KiB
Plaintext
# We cannot use "common" here because the "version" command doesn't support
|
|
# --deleted_packages. We need to specify it for both build and query instead.
|
|
build --deleted_packages=tests/bazel_repository_test_dir,tests/ts/bazel_repository_test_dir
|
|
query --deleted_packages=tests/bazel_repository_test_dir,tests/ts/bazel_repository_test_dir
|
|
# Point tools such as coursier (used in rules_jvm_external) to Bazel's internal JDK
|
|
# suggested in https://github.com/bazelbuild/rules_jvm_external/issues/445
|
|
common --repo_env=JAVA_HOME=../bazel_tools/jdk
|
|
common --action_env=JAVA_HOME=../bazel_tools/jdk
|
|
# Workaround "Error: need --enable_runfiles on Windows for to support rules_js"
|
|
common:windows --enable_runfiles
|
|
# Swift is not required on Windows
|
|
common:windows --deleted_packages=swift
|
|
# Ignore warnings in external dependencies
|
|
build --per_file_copt=external/.*@-Wno-everything --host_per_file_copt=external/.*@-Wno-everything
|
|
# Honor the setting of `skipLibCheck` in the tsconfig.json file.
|
|
common --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
|
|
# Use "tsc" as the transpiler when ts_project has no `transpiler` set.
|
|
common --@aspect_rules_ts//ts:default_to_tsc_transpiler
|