disable broken svelte_check test on Windows for now
Likely caused by a lack of sandboxing on Windows, causing the generated .d.ts files to be visible to svelte_check, and being picked up in preference over the .svelte file.
This commit is contained in:
parent
010c3da770
commit
220e14bf0f
@ -176,4 +176,9 @@ svelte_check(
|
||||
"//ts/components:svelte_components",
|
||||
"@npm//@types/bootstrap",
|
||||
],
|
||||
target_compatible_with = select({
|
||||
"@platforms//os:osx": [],
|
||||
"@platforms//os:linux": [],
|
||||
"//conditions:default": ["@platforms//os:linux"],
|
||||
}),
|
||||
)
|
||||
|
@ -78,7 +78,7 @@ def compile_svelte(name, srcs, deps = [], visibility = ["//visibility:private"])
|
||||
visibility = visibility,
|
||||
)
|
||||
|
||||
def svelte_check(name = "svelte_check", srcs = []):
|
||||
def svelte_check(name = "svelte_check", srcs = [], target_compatible_with = []):
|
||||
_svelte_check(
|
||||
name = name,
|
||||
args = [
|
||||
@ -95,4 +95,5 @@ def svelte_check(name = "svelte_check", srcs = []):
|
||||
"@npm//sass",
|
||||
] + srcs,
|
||||
env = {"SASS_PATH": "$(rootpath //ts:tsconfig.json)/../.."},
|
||||
target_compatible_with = target_compatible_with,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user