From 161e2e070f63078617383cec743fec7a49c4bcc3 Mon Sep 17 00:00:00 2001 From: APEX FIGHT Date: Sat, 1 Nov 2025 02:43:18 -0400 Subject: [PATCH] organized configs --- src/build.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/build.sh b/src/build.sh index 9ff7259..262259a 100644 --- a/src/build.sh +++ b/src/build.sh @@ -1,11 +1,15 @@ #!/usr/bin/env nix-shell #! nix-shell -i bash #! nix-shell -p bash curl gcc zlib libffi icu77 python313 rustc ccache ninja cmake libllvm cargo rust-cbindgen pkg-config -SUBVERSION="140.4.0" -VERSION="${SUBVERSION}esr" -DOWNLOAD="https://ftp.mozilla.org/pub/firefox/releases/$VERSION/source/firefox-$VERSION.source.tar.xz" -BUILDPATH=$(realpath .) -mkdir bin + +# CONFIGURATION OPTIONS +MAJORVERSION="140" # MAJOR firefox esr version +BUILDPATH=$(realpath .) # Where to output build fragments +OUTPUT="/var/www/$VERSION/" # Where to place built and zipped hashes and all that (ex. for file hosting) + +# Ensure necessary directories exist +mkdir $BUILDPATH/bin +mkdir $OUTPUT #debug stuff echo Version: