diff --git a/Makefile b/Makefile index fea80deb0..f2ccf9176 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,9 @@ ci: test collectstatics: compile-scss python -m manage collectstatic --noinput +collectstatics-production: compile-scss + python -m manage collectstatic --settings=djangoproject.settings.prod --noinput + compile-scss: python -m pysassc $(SCSS)/output.scss $(STATIC)/css/output.css --style=compressed diff --git a/tox.ini b/tox.ini index d8f31f0b9..ce1f15f44 100644 --- a/tox.ini +++ b/tox.ini @@ -17,6 +17,7 @@ commands = tests: make ci flake8: flake8 isort: make isort-check + collectstatic: make collectstatics-production [testenv:black] basepython = python3