Created
December 13, 2019 23:43
-
-
Save MarkTiedemann/6046b1a6136903c6aaaaff1a1ec5920c to your computer and use it in GitHub Desktop.
the-lost-art-of-the-makefile/01-your-tests-dont-need-to-be-phony/06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: test | |
test: good.tested bad.tested | |
good.tested: ndjson_validator.js good.ndjson | |
node ndjson_validator.js < good.ndjson | |
touch good.tested | |
bad.tested: ndjson_validator.js bad.ndjson | |
! node ndjson_validator.js < bad.ndjson | |
touch bad.tested |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment