Skip to content
This repository was archived by the owner on Nov 1, 2018. It is now read-only.

Commit 4257570

Browse files
Victor Nawothnigbgamari
authored andcommitted
Improve diagnostic when using make fast in top directory
Reviewers: bgamari Reviewed By: bgamari Subscribers: rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5113
1 parent e400b9b commit 4257570

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ REALGOALS=$(filter-out \
103103
fulltest \
104104
slowtest \
105105
fasttest \
106+
fast \
106107
,$(MAKECMDGOALS))
107108

108109
# configure touches certain files even if they haven't changed. This
@@ -225,3 +226,8 @@ test:
225226
.PHONY: slowtest fulltest
226227
slowtest fulltest:
227228
$(MAKE) -C testsuite/tests CLEANUP=1 SUMMARY_FILE=../../testsuite_summary.txt slow
229+
230+
.PHONY: fast
231+
fast:
232+
@echo "You can use 'make fast' only from inside a sub-component directory."
233+
@exit 1

0 commit comments

Comments
 (0)