aboutsummaryrefslogtreecommitdiff
path: root/binary_tarball/build_tarball.sh
diff options
context:
space:
mode:
authorBeatLink <beatlink@protonmail.com>2019-08-16 22:00:32 -0500
committerBeatLink <beatlink@protonmail.com>2019-08-16 22:00:32 -0500
commit088d2f7727fd1c88b75bec370d9131e0bbd1e432 (patch)
tree32bf0a9bcccfd7b47478fdd3b48e235021f83700 /binary_tarball/build_tarball.sh
parentMove other platforms to own repo (diff)
downloadlibrewolf-linux-088d2f7727fd1c88b75bec370d9131e0bbd1e432.tar.gz
librewolf-linux-088d2f7727fd1c88b75bec370d9131e0bbd1e432.tar.bz2
librewolf-linux-088d2f7727fd1c88b75bec370d9131e0bbd1e432.zip
move linux files to top level
Diffstat (limited to 'binary_tarball/build_tarball.sh')
-rwxr-xr-xbinary_tarball/build_tarball.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/binary_tarball/build_tarball.sh b/binary_tarball/build_tarball.sh
new file mode 100755
index 0000000..adf9ad3
--- /dev/null
+++ b/binary_tarball/build_tarball.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+printf "\n------------------------------------- BINARY TARBALL BUILD ------------------------------------------\n";
+
+# Aborts the script upon any faliure
+set -e;
+
+# Sets up script variables
+BINARY_TARBALL=$1;
+_SCRIPT_FOLDER=$(realpath $(dirname $0));
+_REPOSITORY_FOLDER=$(realpath $_SCRIPT_FOLDER/../../../);
+
+_BINARY_TARBALL_SOURCE_FOLDER=$_SCRIPT_FOLDER/compile;
+_BINARY_TARBALL_SOURCE_CONTENT_FOLDER=$_REPOSITORY_FOLDER/browser/common/source_files/;
+_BINARY_TARBALL_TOGGLE_SETTINGS_SCRIPT=$_SCRIPT_FOLDER/content/toggle-settings.sh;
+_BINARY_TARBALL_LAUNCH_SCRIPT=$_SCRIPT_FOLDER/content/launch_librewolf.sh;
+
+# Executes the build
+$_SCRIPT_FOLDER/scripts/1_Install_Dependencies.sh;
+$_SCRIPT_FOLDER/scripts/2_Download_Source_Code.sh $_BINARY_TARBALL_SOURCE_FOLDER;
+$_SCRIPT_FOLDER/scripts/3_Configure_Source_Code.sh $_BINARY_TARBALL_SOURCE_FOLDER $_BINARY_TARBALL_SOURCE_CONTENT_FOLDER;
+$_SCRIPT_FOLDER/scripts/4_Build_Binary_Tarball.sh $_BINARY_TARBALL_SOURCE_FOLDER $BINARY_TARBALL;
+$_SCRIPT_FOLDER/scripts/5_Configure_Binary_Tarball.sh $BINARY_TARBALL $_BINARY_TARBALL_TOGGLE_SETTINGS_SCRIPT $_BINARY_TARBALL_LAUNCH_SCRIPT;
+
bgstack15