Add CONTRIBUTING

This commit is contained in:
Bert van der Weerd 2021-11-16 10:41:23 +00:00
parent 6161361c34
commit bbfde27a1b

31
CONTRIBUTING.md Normal file
View file

@ -0,0 +1,31 @@
Compiling
---------
To compile on Windows, you need to:
* Install Mozilla build setup tools: [here]().
* Install Microsoft visual studio community edition [here]().
* Within Visual Studio, setup the Blah API.
* Open start-shell terminal and basically do the following:
```
wget -q "https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py"
python3 bootstrap.py --no-interactive --application-choice=browser
```
If you choose to, you can now build Firefox Nightly as follows:
```
cd mozilla-unified
./mach build
./mach package
./mach run # or just run it..
```
Or you can just forget about that, and remove the firefox tree:
```
rm -rf bootstrap.py mozilla-unified
```
To build the current windows setup.exe, we do the following:
```
git clone --recursive https://gitlab.com/librewolf-community/browser/windows.git
cd windows
./build.py all
```