File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,15 @@ git checkout -b $BRANCH $SRC/$SRC_BRANCH
45
45
# - Module data.
46
46
# - Module code. The "/model/" path fragment could also be "/project/", or
47
47
# removed entirely.
48
+ # - Module tests.
48
49
#
49
- # NB can add lines to also preserve docs, tests, e.g.:
50
- # --path-rename message_data/tests/model/$MOD/:$D_PACKAGE/tests/model/$MOD/
50
+ # Add or remove lines here as necessary; not all modules have all the above
51
+ # pieces, and some modules have additional pieces.
51
52
git filter-repo \
52
53
--refs $BRANCH --force --debug \
53
54
--path-rename data/$MOD /:$D_PACKAGE /data/$MOD / \
54
- --path-rename $S_PACKAGE /model/$MOD /:$D_PACKAGE /model/$MOD /
55
+ --path-rename $S_PACKAGE /model/$MOD /:$D_PACKAGE /model/$MOD / \
56
+ --path-rename $S_PACKAGE /tests/model/$MOD /:$D_PACKAGE /tests/model/$MOD /
55
57
56
58
# --path = keep only a subset of files and directories.
57
59
#
You can’t perform that action at this time.
0 commit comments