fixes
This commit is contained in:
parent
c039ae197e
commit
2aed9e7b99
7 changed files with 37 additions and 38 deletions
1
build.py
1
build.py
|
|
@ -84,6 +84,7 @@ def leave_srcdir():
|
||||||
|
|
||||||
def exec(cmd):
|
def exec(cmd):
|
||||||
if cmd != '':
|
if cmd != '':
|
||||||
|
cmd = 'bash -c "{}"'.format(cmd)
|
||||||
print(cmd)
|
print(cmd)
|
||||||
if not options.no_execute:
|
if not options.no_execute:
|
||||||
retval = os.system(cmd)
|
retval = os.system(cmd)
|
||||||
|
|
|
||||||
|
|
@ -1,23 +1,31 @@
|
||||||
all :
|
all : lw
|
||||||
cp version release && cp version librewolf && cp version fetched-image
|
# for working with the original mozilla source:
|
||||||
|
# all : mozilla
|
||||||
make -C buildenv
|
|
||||||
make -C fetched-image
|
|
||||||
make -C librewolf
|
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
rm -f librewolf/version release/version fetched-image/version
|
rm -f librewolf/version release/version
|
||||||
|
|
||||||
make -C librewolf clean
|
make -C librewolf clean
|
||||||
make -C release clean
|
make -C release clean
|
||||||
|
|
||||||
|
lw :
|
||||||
|
cp version librewolf
|
||||||
|
|
||||||
|
make -C buildenv
|
||||||
|
make -C librewolf
|
||||||
|
|
||||||
|
mozilla :
|
||||||
|
cp version release
|
||||||
|
|
||||||
|
make -C buildenv
|
||||||
|
make -C nightly
|
||||||
|
make -C release
|
||||||
|
|
||||||
prune :
|
prune :
|
||||||
sudo docker system prune --all --force
|
sudo docker system prune --all --force
|
||||||
|
|
||||||
mozilla :
|
full : prune lw mozilla
|
||||||
cp version release && cp version librewolf && cp version fetched-image
|
|
||||||
|
help :
|
||||||
|
@echo "Use: make all help clean lw prune mozilla full"
|
||||||
|
|
||||||
make -C buildenv
|
|
||||||
make -C fetched-image
|
|
||||||
make -C nightly
|
|
||||||
make -C release
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
all :
|
|
||||||
sudo docker build -t librewolf/built-image .
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
from mozilla/buildenv-debian
|
|
||||||
run rm -rf mozilla-unified
|
|
||||||
|
|
||||||
# Build it..
|
|
||||||
copy version /
|
|
||||||
run wget -q https://archive.mozilla.org/pub/firefox/releases/$(cat /version)/source/firefox-$(cat /version).source.tar.xz
|
|
||||||
run tar xf firefox-$(cat /version).source.tar.xz
|
|
||||||
run ln -s firefox-$(cat /version) work
|
|
||||||
workdir work
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
all :
|
|
||||||
sudo docker build -t librewolf/fetched-image .
|
|
||||||
|
|
@ -1,17 +1,20 @@
|
||||||
from librewolf/fetched-image
|
from mozilla/buildenv-debian
|
||||||
|
run rm -rf mozilla-unified
|
||||||
|
|
||||||
|
# Build it..
|
||||||
|
copy version /
|
||||||
|
run wget -q https://archive.mozilla.org/pub/firefox/releases/$(cat /version)/source/firefox-$(cat /version).source.tar.xz
|
||||||
|
run tar xf firefox-$(cat /version).source.tar.xz
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
run apt-get install -y git
|
run apt-get install -y git
|
||||||
|
run #### [build trigger] (add or remove a few hashes in front to build from here)
|
||||||
workdir /
|
|
||||||
run git clone --recursive https://gitlab.com/librewolf-community/browser/windows.git
|
run git clone --recursive https://gitlab.com/librewolf-community/browser/windows.git
|
||||||
workdir windows
|
workdir windows
|
||||||
run ln -s /firefox-$(cat /version)
|
run ln -s /firefox-$(cat /version)
|
||||||
run ls -l
|
|
||||||
run pwd
|
run ./build.py --version $(cat /version) lw_do_patches
|
||||||
run ls -l /
|
run ./build.py --version $(cat /version) build
|
||||||
run python3 build.py --version $(cat /version) fetch
|
run ./build.py --version $(cat /version) lw_post_build
|
||||||
run python3 build.py lw_do_patches
|
run ./build.py --version $(cat /version) package
|
||||||
run python3 build.py build
|
run ./build.py --version $(cat /version) lw_artifacts
|
||||||
run python3 build.py lw_post_build
|
|
||||||
run python3 build.py package
|
|
||||||
run python3 build.py lw_artifacts
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue