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):
|
||||
if cmd != '':
|
||||
cmd = 'bash -c "{}"'.format(cmd)
|
||||
print(cmd)
|
||||
if not options.no_execute:
|
||||
retval = os.system(cmd)
|
||||
|
|
|
|||
|
|
@ -1,23 +1,31 @@
|
|||
all :
|
||||
cp version release && cp version librewolf && cp version fetched-image
|
||||
|
||||
make -C buildenv
|
||||
make -C fetched-image
|
||||
make -C librewolf
|
||||
all : lw
|
||||
# for working with the original mozilla source:
|
||||
# all : mozilla
|
||||
|
||||
clean :
|
||||
rm -f librewolf/version release/version fetched-image/version
|
||||
rm -f librewolf/version release/version
|
||||
|
||||
make -C librewolf 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 :
|
||||
sudo docker system prune --all --force
|
||||
|
||||
mozilla :
|
||||
cp version release && cp version librewolf && cp version fetched-image
|
||||
full : prune lw mozilla
|
||||
|
||||
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
|
||||
run apt-get install -y git
|
||||
|
||||
workdir /
|
||||
run #### [build trigger] (add or remove a few hashes in front to build from here)
|
||||
run git clone --recursive https://gitlab.com/librewolf-community/browser/windows.git
|
||||
workdir windows
|
||||
run ln -s /firefox-$(cat /version)
|
||||
run ls -l
|
||||
run pwd
|
||||
run ls -l /
|
||||
run python3 build.py --version $(cat /version) fetch
|
||||
run python3 build.py lw_do_patches
|
||||
run python3 build.py build
|
||||
run python3 build.py lw_post_build
|
||||
run python3 build.py package
|
||||
run python3 build.py lw_artifacts
|
||||
|
||||
run ./build.py --version $(cat /version) lw_do_patches
|
||||
run ./build.py --version $(cat /version) build
|
||||
run ./build.py --version $(cat /version) lw_post_build
|
||||
run ./build.py --version $(cat /version) package
|
||||
run ./build.py --version $(cat /version) lw_artifacts
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue