pyoxidized: add a copy of the `templates` directory in the right location
This fix about 10 extra test bring the number of currently failing test to about 12.
Differential Revision: https://phab.mercurial-scm.org/D11287
--- a/Makefile Wed Aug 18 01:07:38 2021 +0200
+++ b/Makefile Wed Aug 18 01:10:40 2021 +0200
@@ -270,9 +270,15 @@
pyoxidizer:
$(PYOXIDIZER) build --path ./rust/hgcli --release
+
+PYOX_DIR=build/pyoxidizer/x86_64-pc-windows-msvc/release/app
+
# a temporary target to setup all we need for run-tests.py --pyoxidizer
# (should go away as the run-tests implementation improves
pyoxidizer-windows-tests: pyoxidizer
+ rm -rf $(PYOX_DIR)/templates
+ cp -ar $(PYOX_DIR)/lib/mercurial/templates $(PYOX_DIR)/templates
+
.PHONY: help all local build doc cleanbutpackages clean install install-bin \
install-doc install-home install-home-bin install-home-doc \