organized configs
This commit is contained in:
14
src/build.sh
14
src/build.sh
@@ -1,11 +1,15 @@
|
|||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
#! nix-shell -i bash
|
#! nix-shell -i bash
|
||||||
#! nix-shell -p bash curl gcc zlib libffi icu77 python313 rustc ccache ninja cmake libllvm cargo rust-cbindgen pkg-config
|
#! 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"
|
# CONFIGURATION OPTIONS
|
||||||
DOWNLOAD="https://ftp.mozilla.org/pub/firefox/releases/$VERSION/source/firefox-$VERSION.source.tar.xz"
|
MAJORVERSION="140" # MAJOR firefox esr version
|
||||||
BUILDPATH=$(realpath .)
|
BUILDPATH=$(realpath .) # Where to output build fragments
|
||||||
mkdir bin
|
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
|
#debug stuff
|
||||||
echo Version:
|
echo Version:
|
||||||
|
|||||||
Reference in New Issue
Block a user