File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 8
8
- pospell --version
9
9
script :
10
10
- pospell -p dict -l fr **/*.po
11
- - make CPYTHON_CLONE=/tmp/cpython/ BRANCH =d4ed8809dd
11
+ - make CPYTHON_CLONE=/tmp/cpython/ COMMIT =d4ed8809dd
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ VENV := ~/.venvs/python-docs-i18n/
20
20
PYTHON := $(shell which python3)
21
21
MODE := autobuild-dev-html
22
22
BRANCH = 3.7
23
+ COMMIT =
23
24
JOBS = 4
24
25
25
26
34
35
35
36
36
37
$(SPHINX_CONF ) :
37
- git clone --depth 1 --no-single-branch --branch $(BRANCH ) https://github.com/python/cpython.git $(CPYTHON_CLONE )
38
+ git clone --depth 1 --branch $(BRANCH ) https://github.com/python/cpython.git $(CPYTHON_CLONE )
39
+ [ -n " $( COMMIT) " ] && i=1; while ! $$ (git -C $( CPYTHON_CLONE) checkout $( COMMIT) ); do i=$$ (( i * 2 )) ; git -C $( CPYTHON_CLONE) fetch --depth $$ i; done
38
40
39
41
40
42
.PHONY : upgrade_venv
You can’t perform that action at this time.
0 commit comments