mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-22 11:07:57 +01:00
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.
This commit is contained in:
parent
6c9d202057
commit
d5bdad1d15
6
Makefile
6
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user