8000 Set Makefile default goal to `tests` instead of `clean` · davidmoss/github3.py@f9c042c · GitHub
[go: up one dir, main page]

Skip to content

Commit f9c042c

Browse files
Set Makefile default goal to tests instead of clean
By virtue of being the first goal in the Makefile, `clean` is currently the default. Personally I feel this is slightly aggressive (having accidentally wiped out scratch files twice now due to bare `make`s) so this sets `.DEFAULT_GOAL` to `tests`, which is non-destructive and (based on no data other than my own usage) probably more desired.
1 parent b75eabc commit f9c042c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
COVERAGE_INCLUDE := github3/*.py
66
TEST_RUNNER := run_tests.py
77

8+
.DEFAULT_GOAL := tests
9+
810
clean:
911
git clean -Xdf
1012
rm -rf build/ dist/

0 commit comments

Comments
 (0)
0