mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 14:50:19 +00:00
f745ed4ee3
Correct the execution order of deep dependency trees. Fixes #28.
10 lines
269 B
Bash
10 lines
269 B
Bash
#!/usr/bin/env bats
|
|
export BAKEFILE=ordering.Bakefile
|
|
|
|
@test "dependencies are resolved correctly" {
|
|
run bake
|
|
[[ "${status}" -eq 0 ]]
|
|
[[ "${lines[0]}" == *"build…"* ]]
|
|
[[ "${lines[1]}" == *"fetch/consul, fetch/s6-overlay, fetch, & build/stage."* ]]
|
|
}
|