Skip to content

Commit

Permalink
Implement make develop to ease contributing to wagtail (wagtail#2709)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mvantellingen authored and gasman committed Jun 14, 2016
1 parent 6c9d202 commit d5bdad1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: clean-pyc
.PHONY: clean-pyc develop

help:
@echo "clean-pyc - remove Python file artifacts"
Expand All @@ -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

Expand Down

0 comments on commit d5bdad1

Please sign in to comment.