mirror of
https://github.com/denoland/deno.git
synced 2024-11-27 16:10:57 -05:00
chore: failing tests root member
This commit is contained in:
parent
3da4eca7c1
commit
a715757d9b
9 changed files with 81 additions and 0 deletions
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"args": "task a",
|
||||
"cwd": "member",
|
||||
"output": "task.out"
|
||||
}
|
10
tests/specs/task/dependencies_root_not_cycle/deno.json
Normal file
10
tests/specs/task/dependencies_root_not_cycle/deno.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"tasks": {
|
||||
"a": "echo root-a",
|
||||
"b": {
|
||||
"dependencies": ["a"],
|
||||
"command": "echo b"
|
||||
}
|
||||
},
|
||||
"workspace": ["./member"]
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"tasks": {
|
||||
"a": {
|
||||
"dependencies": ["b"],
|
||||
"command": "echo a"
|
||||
}
|
||||
}
|
||||
}
|
6
tests/specs/task/dependencies_root_not_cycle/task.out
Normal file
6
tests/specs/task/dependencies_root_not_cycle/task.out
Normal file
|
@ -0,0 +1,6 @@
|
|||
Task a echo root-a
|
||||
a
|
||||
Task b echo b
|
||||
b
|
||||
Task a echo a
|
||||
a
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"tests": {
|
||||
"root_dependending_root": {
|
||||
"args": "task root-depending-root",
|
||||
"cwd": "member",
|
||||
"output": "root_dependending_root.out"
|
||||
},
|
||||
"member_depending_root_and_member": {
|
||||
"args": "task member-dependending-root-and-member",
|
||||
"cwd": "member",
|
||||
"output": "member_depending_root_and_member.out"
|
||||
}
|
||||
}
|
||||
}
|
12
tests/specs/task/dependencies_shadowed_root_name/deno.jsonc
Normal file
12
tests/specs/task/dependencies_shadowed_root_name/deno.jsonc
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"tasks": {
|
||||
"build": "echo root",
|
||||
"root-depending-root": {
|
||||
"dependencies": [
|
||||
"build"
|
||||
],
|
||||
"command": "echo test"
|
||||
}
|
||||
},
|
||||
"workspace": ["./member"]
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"tasks": {
|
||||
"build": "echo member",
|
||||
"member-dependending-root-and-member": {
|
||||
"dependencies": [
|
||||
"build",
|
||||
"root-depending-root"
|
||||
],
|
||||
"command": "echo member-test"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
[UNORDERED_START]
|
||||
Task build echo member
|
||||
member
|
||||
Task root-depending-root echo test
|
||||
test
|
||||
Task root echo root
|
||||
root
|
||||
[UNORDERED_END]
|
||||
Task member-depending-root-and-member echo member-test
|
||||
member-test
|
|
@ -0,0 +1,4 @@
|
|||
Task build echo root
|
||||
root
|
||||
Task root-depending-root echo test
|
||||
test
|
Loading…
Reference in a new issue