From d5bdad1d1548672ca5aa0ad289b5bb66578a381a Mon Sep 17 00:00:00 2001 From: Michael van Tellingen Date: Tue, 14 Jun 2016 11:39:45 +0200 Subject: [PATCH] Implement `make develop` to ease contributing to wagtail (#2709) This installs wagtail as editable package in your current python env including testing and docs extras. It also installs runs npm install and generates the frontend files. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ac7d206c8..d971531de1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: clean-pyc +.PHONY: clean-pyc develop help: @echo "clean-pyc - remove Python file artifacts" @@ -11,6 +11,10 @@ clean-pyc: find . -name '*.pyo' -exec rm -f {} + find . -name '*~' -exec rm -f {} + +develop: clean-pyc + pip install -e .[testing,docs] + npm install && npm run build + lint: flake8 wagtail