1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
"tempDir": true,
"envs": {
"DENO_DIR": "$PWD/deno_dir"
},
"steps": [{
// create deno dir
"args": "run http://localhost:4545/echo.ts hi",
"output": "[WILDCARD]"
}, {
"args": [
"eval",
"console.log(Deno.statSync('./deno_dir') != null)"
],
"output": "true\n"
}, {
"args": "clean",
"output": "Removed [WILDLINE]/deno_dir ([WILDCARD]files, [WILDCARD])\n"
}, {
"envs": {
// use a new dir to avoid creating the old one
"DENO_DIR": "$PWD/other"
},
"args": "clean",
"output": ""
}, {
"envs": {
// use a new dir to avoid creating the old one
"DENO_DIR": "$PWD/other"
},
"args": [
"eval",
"try { Deno.statSync('./deno_dir') } catch (_) { console.log(true) }"
],
"output": "true\n"
}]
}
|