Closed Bug 617806 Opened 15 years ago Closed 15 years ago

Add CrossWeave target to Makefile

Categories

(Firefox :: Sync, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: rnewman, Assigned: rnewman)

Details

Attachments

(1 file)

I have a sketch version of this in my tree. Will append when I get the chance.
Real short patch is in my clipboard, so forgive the lack of attachment: diff --git a/Makefile b/Makefile index f138d14..5d030c0 100644 --- a/Makefile +++ b/Makefile @@ -115,6 +115,11 @@ all: build .PHONY: setup build test xpi clean $(xpi_files) +crossweave: xpi + pushd crossweave; \ + python crossweave.py --binary /Applications/Firefox.app --xpi-path "$(xpi_dir)/$(xpi_name)" --manifest=test_manifest.txt; \ + popd + test: buildtests $(MAKE) -k -C services/crypto/tests/unit $(MAKE) -k -C services/sync/tests/unit Of course, depends on a "crossweave" checkout in fx-sync, which is how both Philipp and I do things.
Might as well do this properly.
Attachment #498183 - Flags: review?(mconnor)
Comment on attachment 498183 [details] [diff] [review] Add target to makefile. Sweet! >+crossweave: xpi >+ pushd crossweave; \ >+ python crossweave.py --binary /Applications/Firefox.app --xpi-path "$(xpi_dir)/$(xpi_name)" --manifest=test_manifest.txt; \ Can we make --binary configurable through an env var? Because it's definitely not that on my system, and you might want to run crossweave against different versions of Firefox as well. Also please wrap the long line if you want to make me extra happy ;)
Attachment #498183 - Flags: review?(mconnor) → review+
Tidied up and pushed: http://hg.mozilla.org/services/fx-sync/rev/e40861c0b26c CROSSWEAVE_FF_BIN is the environment var. (Couldn't use e.g., XULRUNNER_BIN -- not the same kind of path.)
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Component: Firefox Sync: Build → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: