mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
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
2 changed files with 7 additions and 1 deletions
|
@ -176,4 +176,9 @@ svelte_check(
|
||||||
"//ts/components:svelte_components",
|
"//ts/components:svelte_components",
|
||||||
"@npm//@types/bootstrap",
|
"@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,
|
visibility = visibility,
|
||||||
)
|
)
|
||||||
|
|
||||||
def svelte_check(name = "svelte_check", srcs = []):
|
def svelte_check(name = "svelte_check", srcs = [], target_compatible_with = []):
|
||||||
_svelte_check(
|
_svelte_check(
|
||||||
name = name,
|
name = name,
|
||||||
args = [
|
args = [
|
||||||
|
@ -95,4 +95,5 @@ def svelte_check(name = "svelte_check", srcs = []):
|
||||||
"@npm//sass",
|
"@npm//sass",
|
||||||
] + srcs,
|
] + srcs,
|
||||||
env = {"SASS_PATH": "$(rootpath //ts:tsconfig.json)/../.."},
|
env = {"SASS_PATH": "$(rootpath //ts:tsconfig.json)/../.."},
|
||||||
|
target_compatible_with = target_compatible_with,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue