Tech Insights
This is how to pass an argument to a Makefile command:
ARG := $(word 2, $(MAKECMDGOALS) )
test:
python manage.py test $(ARG) --parallel --keepdb
Use like this: make test app.tests
Shared by
- Tests
Tech Insights
Makefile command:ARG := $(word 2, $(MAKECMDGOALS) )
test:
python manage.py test $(ARG) --parallel --keepdb
Use like this: make test app.tests
Shared by
Book a call
Tell us what you’re building. In one call, we’ll show you how our team would approach it.
Tell us what you’re building, and we’ll show you how we’d approach it.
Still prefer the good old email? Contact us



