mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
23 lines
333 B
Bash
Executable File
23 lines
333 B
Bash
Executable File
#!/usr/bin/env bats
|
|
|
|
export BAKEFILE=cache.Bakefile
|
|
|
|
@test "skips clear" {
|
|
bake --clear-skips
|
|
}
|
|
|
|
@test "cache runs" {
|
|
run bake task
|
|
[[ $output != *Skipping* ]]
|
|
}
|
|
|
|
@test "cache skips" {
|
|
run bake task
|
|
[[ $output == *Skipping* ]]
|
|
}
|
|
|
|
@test "skip skips" {
|
|
run bake --no-deps task
|
|
[[ $output != *Skipping* ]]
|
|
}
|