Every moztools bundle is based upon MozillaBuild. Its version numbers are also taken from the version number of MozillaBuild that was used to create the bundle.
- Download MozillaBuild installer from https://ftp.mozilla.org/pub/mozilla/libraries/win32/.
- Extract installer using 7zip into
moztools-${mozilla-build-version}
folder and move to this folder - Remove all files/folders except
msys2
,bin
andVERSION
- Remove large unused files:
- vim (found in
msys2/usr/bin
andmsys2/usr/share
) - emacs (
msys2/usr/bin
andmsys2/usr/share
)
- vim (found in
- Download
mozmake.tar.ztd
from https://firefox-ci-tc.services.mozilla.com/tasks/index/gecko.cache.level-1.toolchains.v3.win64-mozmake/latest - Extract
mozmake.exe
frommozmake.tar.ztd
intobin
- Zip the
moztools-${mozilla-build-version}
folder intomoztools-${mozilla-build-version}.zip
The final structure should look like this:
moztools-${mozilla-build-version}.zip
└───moztools-${mozilla-build-version}
├───msys2 (dir)
├───bin (dir)
│ └─ mozmake.exe
└─VERSION (file)
You have created new moztools bundle!