##// END OF EJS Templates
make: add a target for building pyoxidizer tests on macOS...
Matt Harbison -
r50726:d5b722ce stable
parent child Browse files
Show More
@@ -260,10 +260,9 b' pyoxidizer:'
260 $(PYOXIDIZER) build --path ./rust/hgcli --release
260 $(PYOXIDIZER) build --path ./rust/hgcli --release
261
261
262
262
263 PYOX_DIR=build/pyoxidizer/x86_64-pc-windows-msvc/release/app
264
265 # a temporary target to setup all we need for run-tests.py --pyoxidizer
263 # a temporary target to setup all we need for run-tests.py --pyoxidizer
266 # (should go away as the run-tests implementation improves
264 # (should go away as the run-tests implementation improves
265 pyoxidizer-windows-tests: PYOX_DIR=build/pyoxidizer/x86_64-pc-windows-msvc/release/app
267 pyoxidizer-windows-tests: pyoxidizer
266 pyoxidizer-windows-tests: pyoxidizer
268 rm -rf $(PYOX_DIR)/templates
267 rm -rf $(PYOX_DIR)/templates
269 cp -ar $(PYOX_DIR)/lib/mercurial/templates $(PYOX_DIR)/templates
268 cp -ar $(PYOX_DIR)/lib/mercurial/templates $(PYOX_DIR)/templates
@@ -277,9 +276,25 b' pyoxidizer-windows-tests: pyoxidizer'
277 cp -ar doc $(PYOX_DIR)/doc
276 cp -ar doc $(PYOX_DIR)/doc
278
277
279
278
279 # a temporary target to setup all we need for run-tests.py --pyoxidizer
280 # (should go away as the run-tests implementation improves
281 pyoxidizer-macos-tests: PYOX_DIR=build/pyoxidizer/x86_64-apple-darwin/release/app
282 pyoxidizer-macos-tests: pyoxidizer
283 rm -rf $(PYOX_DIR)/templates
284 cp -a mercurial/templates $(PYOX_DIR)/templates
285 rm -rf $(PYOX_DIR)/helptext
286 cp -a mercurial/helptext $(PYOX_DIR)/helptext
287 rm -rf $(PYOX_DIR)/defaultrc
288 cp -a mercurial/defaultrc $(PYOX_DIR)/defaultrc
289 rm -rf $(PYOX_DIR)/contrib
290 cp -a contrib $(PYOX_DIR)/contrib
291 rm -rf $(PYOX_DIR)/doc
292 cp -a doc $(PYOX_DIR)/doc
293
294
280 .PHONY: help all local build doc cleanbutpackages clean install install-bin \
295 .PHONY: help all local build doc cleanbutpackages clean install install-bin \
281 install-doc install-home install-home-bin install-home-doc \
296 install-doc install-home install-home-bin install-home-doc \
282 dist dist-notests check tests rust-tests check-code format-c \
297 dist dist-notests check tests rust-tests check-code format-c \
283 update-pot pyoxidizer pyoxidizer-windows-tests \
298 update-pot pyoxidizer pyoxidizer-windows-tests pyoxidizer-macos-tests \
284 $(packaging_targets) \
299 $(packaging_targets) \
285 osx
300 osx
General Comments 0
You need to be logged in to leave comments. Login now