[Request] [+ ] D11287: pyoxidized: add a copy of the `templates` directory in the right location
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Wed Aug 18 01:01:04 UTC 2021
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This should fix multiple tests.
REPOSITORY
rHG Mercurial
BRANCH
stable
REVISION DETAIL
https://phab.mercurial-scm.org/D11287
AFFECTED FILES
Makefile
CHANGE DETAILS
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -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 \
To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20210818/572f9744/attachment.html>
More information about the Mercurial-patches
mailing list