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: