/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to Makefile

More work on roundtrip push support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
DEBUGGER ?= 
 
2
BZR_OPTIONS ?= 
2
3
BZR ?= $(shell which bzr)
3
4
PYTHON ?= $(shell which python)
4
5
SETUP ?= ./setup.py
6
7
CTAGS ?= ctags
7
8
PYLINT ?= pylint
8
9
RST2HTML ?= rst2html
9
 
TESTS ?= bzrlib.tests.per_foreign_vcs.*Git bzrlib.plugins.git
 
10
TESTS ?= -s bp.git
10
11
 
11
12
all:: build 
12
13
 
22
23
        $(SETUP) clean
23
24
        rm -f *.so
24
25
 
25
 
TMP_PLUGINS_DIR = $(shell pwd)/.plugins
26
 
 
27
 
$(TMP_PLUGINS_DIR):
28
 
        mkdir -p $@
29
 
 
30
 
$(TMP_PLUGINS_DIR)/git: $(TMP_PLUGINS_DIR)
31
 
        ln -sf .. $@
32
 
 
33
 
check:: build-inplace $(TMP_PLUGINS_DIR)/git
34
 
        BZR_PLUGIN_PATH=$(TMP_PLUGINS_DIR) $(DEBUGGER) $(PYTHON) $(PYTHON_OPTIONS) $(BZR) selftest $(TEST_OPTIONS) $(TESTS)
 
26
check:: build-inplace 
 
27
        BZR_PLUGINS_AT=git@$(shell pwd) $(DEBUGGER) $(PYTHON) $(PYTHON_OPTIONS) $(BZR) $(BZR_OPTIONS) selftest $(TEST_OPTIONS) $(TESTS)
35
28
 
36
29
check-verbose::
37
30
        $(MAKE) check TEST_OPTIONS=-v
43
36
        $(MAKE) check TEST_OPTIONS="--random=now --verbose --one"
44
37
 
45
38
show-plugins::
46
 
        BZR_PLUGIN_PATH=$(TMP_PLUGINS_DIR) $(BZR) plugins
 
39
        BZR_PLUGINS_AT=git@$(shell pwd) $(BZR) plugins -v
47
40
 
48
41
lint::
49
42
        $(PYLINT) -f parseable *.py */*.py
52
45
        $(CTAGS) -R .
53
46
 
54
47
ctags:: tags
 
48
 
 
49
coverage::
 
50
        $(MAKE) check BZR_OPTIONS="--coverage coverage"