diff --git a/Makefile b/Makefile index 00e2277..227fde6 100644 --- a/Makefile +++ b/Makefile @@ -111,7 +111,7 @@ release-deb: sh scripts/release-deb.sh ubuntu xenial sh scripts/release-deb.sh ubuntu zesty -install-dev: install-git-hooks +install-dev: pip install -e . [ "$(ETESYNC_TESTS)" = "false" ] || pip install -e .[etesync] set -xe && if [ "$(REQUIREMENTS)" = "devel" ]; then \ diff --git a/docs/contributing.rst b/docs/contributing.rst index 4c4adb0..deb48f5 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -82,10 +82,13 @@ virtualenv_ and run this inside of it:: # install: # - vdirsyncer from the repo into the virtualenv # - stylecheckers (flake8) and code formatters (autopep8) - # - git commit hook for autopep8 make install-dev - make install-test # install test dependencies + # Install git commit hook for the stylechecker + make install-git-hooks + + # install test dependencies + make install-test Then you can run::