3
BZR ?= $(shell which bzr)
4
PYTHON ?= $(shell which python)
26
TMP_PLUGINS_DIR = $(shell pwd)/.plugins
31
$(TMP_PLUGINS_DIR)/git: $(TMP_PLUGINS_DIR)
34
check:: build-inplace $(TMP_PLUGINS_DIR)/git
35
BZR_PLUGIN_PATH=$(TMP_PLUGINS_DIR) $(DEBUGGER) $(PYTHON) $(PYTHON_OPTIONS) $(BZR) $(BZR_OPTIONS) selftest $(TEST_OPTIONS) $(TESTS)
38
$(MAKE) check TEST_OPTIONS=-v
41
$(MAKE) check TEST_OPTIONS=--one
44
$(MAKE) check TEST_OPTIONS="--random=now --verbose --one"
47
BZR_PLUGIN_PATH=$(TMP_PLUGINS_DIR) BZR_PLUGINS_AT=git@$(shell pwd) $(BZR) plugins -v
50
$(PYLINT) -f parseable *.py */*.py
58
$(MAKE) check BZR_OPTIONS="--coverage coverage"