syntax correct, still getting export stage errors

This commit is contained in:
Bert van der Weerd 2022-09-25 22:53:21 +02:00
parent f14b836a8f
commit c256134378
No known key found for this signature in database
GPG key ID: 73370A0B9E5516B0
2 changed files with 43 additions and 1 deletions

12
assets/windows.Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM fedora:36
RUN dnf -y update && dnf -y install make wget git patch
WORKDIR /
RUN git clone https://gitlab.com/librewolf-community/browser/windows.git
WORKDIR /windows/linux
RUN make setup-fedora
RUN make fetch
RUN make bootstrap
RUN make veryclean

View file

@ -1,6 +1,36 @@
# $(use_docker)
.PHONY : docker build .PHONY : docker build
version:=$(shell cat version)
release:=$(shell cat release)
source_release:=$(shell cat source_release)
full_version:=$(version)-$(source_release)$(shell [ $(release) -gt 1 ] && echo "-$(release)")
setupname=librewolf-$(full_version).en-US.win64-setup.exe
zipname=librewolf-$(full_version).en-US.win64-portable.zip
outfiles=$(setupname) $(zipname)
docker : docker :
docker build -t registry.gitlab.com/librewolf-community/browser/bsys5/win64 - < assets/windows.Dockerfile
build : build : $(outfiles) $(setupname).sha256sum $(zipname).sha256sum
$(outfiles) :
ifeq ($(use_docker),false)
false
else
docker run --rm registry.gitlab.com/librewolf-community/browser/bsys5/win64 sh -c "cd /windows/linux && git pull && make fetch && make all"
endif
$(setupname).sha256sum : $(setupname)
sha256sum $< > $@
cat $@
$(zipname).sha256sum : $(zipname)
sha256sum $< > $@
cat $@