0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-08 07:16:56 -05:00
denoland-deno/tests/specs/compile/code_cache/__test__.jsonc
David Sherret 074444ab6c
fix(compile): be more deterministic when compiling the same code in different directories (#27395)
Additionaly, this no longer unnecessarily stores the source twice for
file specifiers and fixes some sourcemap issues.

Closes https://github.com/denoland/deno/issues/27284
2024-12-19 12:53:52 -05:00

35 lines
827 B
JSON

{
"tempDir": true,
"steps": [{
"args": "run -A cleanup.ts",
"output": "[WILDCARD]"
}, {
"if": "unix",
"args": "compile --output using_code_cache --log-level=debug main.ts",
"output": "[WILDCARD]"
}, {
"if": "unix",
"commandName": "./using_code_cache",
"args": [],
"output": "first_run.out"
}, {
"if": "unix",
"commandName": "./using_code_cache",
"args": [],
"output": "second_run.out"
}, {
"if": "windows",
"args": "compile --output using_code_cache.exe --log-level=debug main.ts",
"output": "[WILDCARD]"
}, {
"if": "windows",
"commandName": "./using_code_cache.exe",
"args": [],
"output": "first_run.out"
}, {
"if": "windows",
"commandName": "./using_code_cache.exe",
"args": [],
"output": "second_run.out"
}]
}