mirror of
https://github.com/jaygooby/ttfb.sh
synced 2025-12-10 16:07:22 +01:00
10 lines
286 B
Makefile
10 lines
286 B
Makefile
default: test
|
|
|
|
.PHONY: check-bats-exists
|
|
check-bats-exists:
|
|
@which bats > /dev/null || (echo "Missing dependency. You need to ensure that 'bats' is installed and in your \$$PATH. See https://github.com/bats-core/bats-core" && exit 1)
|
|
|
|
.PHONY: test
|
|
test: check-bats-exists
|
|
bats tests/
|