diff options
author | Victor Nawothnig <Victor.Nawothnig@gmail.de> | 2018-10-28 12:39:05 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-10-28 13:40:43 -0400 |
commit | 42575701b5e71ec5c5e5418a4530e40e6487684c (patch) | |
tree | eede93992de415e3012538feb6d4f615d27d3372 /Makefile | |
parent | e400b9babdcf11669f963aeec20078fe7ccfca0d (diff) | |
download | haskell-42575701b5e71ec5c5e5418a4530e40e6487684c.tar.gz |
Improve diagnostic when using `make fast` in top directory
Reviewers: bgamari
Reviewed By: bgamari
Subscribers: rwbarton, carter
Differential Revision: https://phabricator.haskell.org/D5113
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -103,6 +103,7 @@ REALGOALS=$(filter-out \ fulltest \ slowtest \ fasttest \ + fast \ ,$(MAKECMDGOALS)) # configure touches certain files even if they haven't changed. This @@ -225,3 +226,8 @@ test: .PHONY: slowtest fulltest slowtest fulltest: $(MAKE) -C testsuite/tests CLEANUP=1 SUMMARY_FILE=../../testsuite_summary.txt slow + +.PHONY: fast +fast: + @echo "You can use 'make fast' only from inside a sub-component directory." + @exit 1 |