Skip to content

Commit 9239437

Browse files
committed
preconfigure git for being usable with datalad
1 parent a403329 commit 9239437

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

debian/rules

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ export PYBUILD_NAME = heudiconv
1717
%:
1818
dh $@ --buildsystem=pybuild
1919

20+
override_dh_auto_test::
21+
mkdir -p build; \
22+
export HOME=$(CURDIR)/build; \
23+
git config --global user.name "TESTING"; \
24+
git config --global user.email "[email protected]"
25+
HOME=$(CURDIR)/build dh_auto_test $@
26+
2027
override_dh_auto_install:
2128
help2man -n 'DICOM converter for organizing brain imaging data into structured directory layouts' \
2229
-N --no-discard-stderr bin/heudiconv > build/heudiconv.1

0 commit comments

Comments
 (0)