aboutsummaryrefslogtreecommitdiff
path: root/linux/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'linux/build.sh')
-rwxr-xr-xlinux/build.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/linux/build.sh b/linux/build.sh
new file mode 100755
index 0000000..850e8ad
--- /dev/null
+++ b/linux/build.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+printf "\n------------------------------------- SCRIPT SETUP ------------------------------------------\n";
+
+# Aborts the script upon any faliure
+set -e;
+
+# Sets up script variables
+SCRIPT_FOLDER=$(realpath $(dirname $0));
+REPOSITORY_FOLDER=$(realpath $SCRIPT_FOLDER/../../);
+BINARY_TARBALL=$REPOSITORY_FOLDER/LibreWolf.tar.bz2;
+APPIMAGE_FILE=$REPOSITORY_FOLDER/LibreWolf.AppImage;
+FLATPAK_REPO=$REPOSITORY_FOLDER/librewolf-flatpak-repo;
+FLATPAK_BUNDLE=$REPOSITORY_FOLDER/LibreWolf.flatpak;
+
+$SCRIPT_FOLDER/binary_tarball/build_tarball.sh $BINARY_TARBALL;
+$SCRIPT_FOLDER/appimage/build_appimage.sh $BINARY_TARBALL $APPIMAGE_FILE;
+$SCRIPT_FOLDER/flatpak/build_flatpak.sh $BINARY_TARBALL $FLATPAK_REPO $FLATPAK_BUNDLE;
+
+
+
bgstack15