1
0
mirror of https://github.com/jaygooby/ttfb.sh synced 2025-12-09 23:47:21 +01:00
Files
Curl-ttfb/Makefile
Jay Caines-Gooby ab5df2edac Tests. To run just call 'make'
You need to ensure that bats-core is installed:
https://github.com/bats-core/bats-core
2022-07-04 18:54:11 +01:00

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/