Skip to content
Snippets Groups Projects
Commit be6544a0 authored by Augie Fackler's avatar Augie Fackler
Browse files

make: add a pyoxidizer target

Differential Revision: https://phab.mercurial-scm.org/D9291
parent 867385f4
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
PYTHON?=python3 PYTHON?=python3
endif endif
PYOXIDIZER?=pyoxidizer
$(eval HGROOT := $(shell pwd)) $(eval HGROOT := $(shell pwd))
HGPYTHONS ?= $(HGROOT)/build/pythons HGPYTHONS ?= $(HGROOT)/build/pythons
PURE= PURE=
...@@ -259,6 +261,9 @@ ...@@ -259,6 +261,9 @@
--resources contrib/packaging/macosx/ \ --resources contrib/packaging/macosx/ \
"$${OUTPUTDIR:-dist/}"/Mercurial-"$${HGVER}"-macosx"$${OSXVER}".pkg "$${OUTPUTDIR:-dist/}"/Mercurial-"$${HGVER}"-macosx"$${OSXVER}".pkg
pyoxidizer:
$(PYOXIDIZER) build --path ./rust/hgcli --release
.PHONY: help all local build doc cleanbutpackages clean install install-bin \ .PHONY: help all local build doc cleanbutpackages clean install install-bin \
install-doc install-home install-home-bin install-home-doc \ install-doc install-home install-home-bin install-home-doc \
dist dist-notests check tests rust-tests check-code format-c \ dist dist-notests check tests rust-tests check-code format-c \
...@@ -262,6 +267,6 @@ ...@@ -262,6 +267,6 @@
.PHONY: help all local build doc cleanbutpackages clean install install-bin \ .PHONY: help all local build doc cleanbutpackages clean install install-bin \
install-doc install-home install-home-bin install-home-doc \ install-doc install-home install-home-bin install-home-doc \
dist dist-notests check tests rust-tests check-code format-c \ dist dist-notests check tests rust-tests check-code format-c \
update-pot \ update-pot pyoxidizer \
$(packaging_targets) \ $(packaging_targets) \
osx osx
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment