17 lines
636 B
JSON
17 lines
636 B
JSON
![]() |
[
|
||
|
{
|
||
|
"label": "Run Deno Backend",
|
||
|
"command": "cd .. && docker build -f backend/Dockerfile -t deno-backend ./ && docker run --rm -it -p 8000:8000 deno-backend",
|
||
|
"env": {},
|
||
|
"use_new_terminal": false,
|
||
|
"allow_concurrent_runs": false,
|
||
|
"reveal": "always",
|
||
|
"reveal_target": "dock",
|
||
|
"hide": "never"
|
||
|
},
|
||
|
{
|
||
|
"label": "Run Deno Test in line",
|
||
|
"command": "deno test --env-file=${ZED_WORKTREE_ROOT}/.env --allow-all --filter \"$(sed -n '${ZED_ROW}p' $ZED_FILE | grep -o 'Deno\\.test(\"[^\"]*\"' | sed 's/Deno\\.test(\"//' | sed 's/\"$//')\" $ZED_FILE"
|
||
|
}
|
||
|
]
|