blob: 6cf3866e3de6e02f2a8f02481995d232baaa9e58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
SOURCE_FOLDER=$1;
OUTPUT_TARBALL=$2;
printf "\n\n--------------------------------------- BUILD -----------------------------------------------\n";
# Bootstraps librewolf again (using the ./mach script inside the source code)
# printf "\nRunning bootstrapper to install build dependencies (using ./mach script within source code)\n";
# ./mach bootstrap --application-choice=browser --no-interactive;
cd $SOURCE_FOLDER;
printf "\nBuilding LibreWolf\n";
./mach build;
printf "\nPackaging LibreWolf\n";
./mach package;
printf "\nMoving Binary Tarball to output location\n";
mv ./obj*/dist/librewolf*.tar.bz2 $OUTPUT_TARBALL;
printf "\nDeleting the compile_folder\n";
rm -rf ./;
|