organized configs

This commit is contained in:
APEX FIGHT
2025-11-01 02:43:18 -04:00
parent 7161da7281
commit 161e2e070f

View File

@@ -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: