forked from trentm/python-markdown2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (25 loc) · 651 Bytes
/
Makefile
File metadata and controls
31 lines (25 loc) · 651 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# python-markdown2 Makefile
.PHONY: all
all:
.PHONY: test
test:
cd test && python testall.py
.PHONY: testone
testone:
cd test && python test.py -- -knownfailure
.PHONY: pygments
pygments:
[[ -d deps/pygments ]] || ( \
mkdir -p deps && \
hg clone https://bitbucket.org/birkenfeld/pygments-main deps/pygments)
(cd deps/pygments && hg pull && hg update)
# And for Python 3 usage:
rm -rf deps/pygments3
mkdir -p deps/pygments3
cp -PR deps/pygments/pygments deps/pygments3/pygments
2to3 -w --no-diffs deps/pygments3/pygments
clean:
rm -rf build dist MANIFEST
.PHONY: cutarelease
cutarelease:
./tools/cutarelease.py -f lib/markdown2.py