Mercurial > python-hglib
annotate Makefile @ 213:388820908580 2.6.2
hglib: update grep to cope with behavior change in hg 5.2.
Since version 5.2, revision filed not printed without all argument.
Fixed inaccurate pasring result with lastest hg and changed test case.
author | Daehyeok Mun <daehyeok@gmail.com> |
---|---|
date | Sat, 21 Mar 2020 19:59:50 -0700 |
parents | b8edcb693518 |
children | 8341f2494b3f |
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 | |
204
b8edcb693518
make: dist, all, and help should also be phony rules
Augie Fackler <raf@durin42.com>
parents:
82
diff
changeset
|
8 .PHONY: tests dist all help |
0 | 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 |