Skip to content
Snippets Groups Projects
Commit 87282dae authored by Deaktivert bruker's avatar Deaktivert bruker
Browse files

build: set default target to test

A Makefile's default target is either the one defined by "all", or in
the absence of an "all" target, the first target found in the file.

This means the current default target is to clean the venv from disk.
This patch makes calling make non-destructive by redefining the default
target to run the tests.

We may want to change this in future to something more appropriate.

Fixes: GREG-13
parent 4f97ea8b
No related branches found
No related tags found
1 merge request!6build: set default target to test
......@@ -9,6 +9,8 @@ pip = python -m $(PIP)
poetry = python -m $(POETRY)
venv = . $(VENV)/bin/activate &&
all: test
.PHONY: clean
clean:
$(RM) -r $(VENV)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment