Mercurial > python-hglib
annotate Makefile @ 179:c4c0efb37187
protocol: add the abilty to trace the protocol between the client and server
This is useful when debugging issues with driving hg via hglib
where output and error messages can be lost.
Call setprotocoltrace with the name of a trace function or None.
If the trace function is None no tracing is done.
The trace function is called with the direction, the channel-identified
and its data.
author | Barry A. Scott <barry@barrys-emacs.org> |
---|---|
date | Tue, 18 Oct 2016 17:45:17 +0100 |
parents | 5484cfdc2d59 |
children | b8edcb693518 |
rev | line source |
---|---|
0 | 1 PYTHON=python |
2 help: | |
3 @echo 'Commonly used make targets:' | |
4 @echo ' tests - run all tests in the automatic test suite' | |
5 | |
6 all: help | |
7 | |
8 .PHONY: tests | |
9 | |
82
5484cfdc2d59
setup: build MANIFEST.in from hg manifest
Matt Mackall <mpm@selenic.com>
parents:
81
diff
changeset
|
10 MANIFEST.in: |
5484cfdc2d59
setup: build MANIFEST.in from hg manifest
Matt Mackall <mpm@selenic.com>
parents:
81
diff
changeset
|
11 hg manifest | sed -e 's/^/include /' > MANIFEST.in |
5484cfdc2d59
setup: build MANIFEST.in from hg manifest
Matt Mackall <mpm@selenic.com>
parents:
81
diff
changeset
|
12 |
5484cfdc2d59
setup: build MANIFEST.in from hg manifest
Matt Mackall <mpm@selenic.com>
parents:
81
diff
changeset
|
13 dist: MANIFEST.in |
81 | 14 TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py -q sdist |
15 | |
0 | 16 tests: |
76
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
7
diff
changeset
|
17 $(PYTHON) test.py --with-doctest |