Makefile
branchstable
changeset 47835 da39b9c1c486
parent 47834 d3f890e04525
child 47837 6fc9bd898eec
--- 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 \